Signed-off-by: Pavel Pisa <ppisa@pikron.com>
KERN_OBJS += $$($(1)_OBJS)
KERN_SOURCES += $$($(1)_SOURCES)
-# this is hack to build "__this_module" structure for 2.6.x kernels
-# modpost is used for that purpose now
-
-$$(warning $(1)_OBJS=$$($(1)_OBJS))
-
-#$(eval $(call COMPILE_c_o_kern_template,$(1).mod.c,$(1).mod.o,-DKBUILD_MODNAME=$(1)))
-
-$$(warning $(2)/$(1)$(KERN_LINK_SUFFIX): $$($(1)_OBJS))
$(2)/$(1)$(KERN_LINK_SUFFIX): $$($(1)_OBJS)
@$(QUIET_CMD_ECHO) " LD [K] $$@"
$(Q) $(LINK) \