1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-29 22:19:54 +02:00

make the kernel compile process more generic

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1208 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2005-06-11 23:36:33 +00:00
parent 648ff98e3b
commit 2655e34ff4
2 changed files with 16 additions and 12 deletions

View File

@ -44,25 +44,17 @@ KERNEL_IPKG:=$(LINUX_BUILD_DIR)/kernel_$(LINUX_VERSION)-$(BOARD)-$(PKG_RELEASE)_
KERNEL_IDIR:=$(LINUX_BUILD_DIR)/kernel-ipkg KERNEL_IDIR:=$(LINUX_BUILD_DIR)/kernel-ipkg
include $(LINUX_KCONFIG) include $(LINUX_KCONFIG)
INSTALL_TARGETS := $(KERNEL_IPKG)
TARGETS :=
ifeq ($(BOARD),brcm) ifeq ($(BOARD),brcm)
include ./broadcom.mk include ./broadcom.mk
endif 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,\ $(eval $(call KMOD_template,B44,b44,\
$(MODULES_DIR)/kernel/drivers/net/b44.o \ $(MODULES_DIR)/kernel/drivers/net/b44.o \
,CONFIG_B44)) ,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,\ $(eval $(call KMOD_template,ARPT,arptables,\
$(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.o \ $(MODULES_DIR)/kernel/net/ipv4/netfilter/arp*.o \
,CONFIG_IP_NF_ARPTABLES)) ,CONFIG_IP_NF_ARPTABLES))

View File

@ -5,6 +5,18 @@
# #
############################################################# #############################################################
# broadcom specific kmod packages
$(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,BRCM_ET,brcm-et,\
$(MODULES_DIR)/kernel/drivers/net/et/et.o \
,CONFIG_ET))
LINUX_BINARY_DRIVER_SITE=http://openwrt.org/downloads/ LINUX_BINARY_DRIVER_SITE=http://openwrt.org/downloads/
# proprietary driver, extracted from asus GPL sourcetree GPL_1941.zip # proprietary driver, extracted from asus GPL sourcetree GPL_1941.zip