summaryrefslogtreecommitdiff
path: root/target/linux/linux-2.4/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-11 23:36:33 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-06-11 23:36:33 +0000
commit14bb30ae800a4c2733043eee9fa953b6b2f7c8a3 (patch)
tree3f2145c37bb9527a1bcd92687d7914cba2ae94cc /target/linux/linux-2.4/Makefile
parent1b608ba23ae14884dad650921c0a1532c2f498d7 (diff)
make the kernel compile process more generic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@1208 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/linux-2.4/Makefile')
-rw-r--r--target/linux/linux-2.4/Makefile16
1 files changed, 4 insertions, 12 deletions
diff --git a/target/linux/linux-2.4/Makefile b/target/linux/linux-2.4/Makefile
index 5997275e88..969a882181 100644
--- a/target/linux/linux-2.4/Makefile
+++ b/target/linux/linux-2.4/Makefile
@@ -44,25 +44,17 @@ KERNEL_IPKG:=$(LINUX_BUILD_DIR)/kernel_$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)_
KERNEL_IDIR:=$(LINUX_BUILD_DIR)/kernel-ipkg
include $(LINUX_KCONFIG)
+
+INSTALL_TARGETS := $(KERNEL_IPKG)
+TARGETS :=
+
ifeq ($(BOARD),brcm)
include ./broadcom.mk
endif
-TARGETS :=
-INSTALL_TARGETS := $(KERNEL_IPKG)
-
-$(eval $(call KMOD_template,DIAG,diag,\
- $(MODULES_DIR)/kernel/drivers/net/diag/diag.o \
-))
-$(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
- $(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
-,CONFIG_WL))
$(eval $(call KMOD_template,B44,b44,\
$(MODULES_DIR)/kernel/drivers/net/b44.o \
,CONFIG_B44))
-$(eval $(call KMOD_template,BRCM_ET,brcm-et,\
- $(MODULES_DIR)/kernel/drivers/net/et/et.o \
-,CONFIG_ET))
$(eval $(call KMOD_template,ARPT,arptables,\
$(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.o \
,CONFIG_IP_NF_ARPTABLES))