mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 19:33:44 +02:00
add drivers-clean target when missing,
use in-package module loading instead of .modules file git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2317 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
a119f78f2a
commit
7f1a15c7c5
@ -23,6 +23,11 @@ $(LINUX_DIR)/.drivers-unpacked: $(LINUX_DIR)/.unpacked
|
|||||||
zcat $(DL_DIR)/$(ATM_FIRMWARE_FILE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
zcat $(DL_DIR)/$(ATM_FIRMWARE_FILE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
|
linux-dirclean: drivers-clean
|
||||||
|
|
||||||
|
drivers-clean:
|
||||||
|
rm -rf $(BUILD_DIR)/$(ATM_FIRMWARE_DIR)
|
||||||
|
|
||||||
|
|
||||||
$(eval $(call KMOD_template,SANGAM_ATM_A,sangam-atm-annex-a,\
|
$(eval $(call KMOD_template,SANGAM_ATM_A,sangam-atm-annex-a,\
|
||||||
$(MODULES_DIR)/kernel/drivers/atm/tiatm.o \
|
$(MODULES_DIR)/kernel/drivers/atm/tiatm.o \
|
||||||
@ -38,5 +43,5 @@ $(eval $(call KMOD_template,SANGAM_ATM_B,sangam-atm-annex-b,\
|
|||||||
|
|
||||||
$(eval $(call KMOD_template,CPMAC,cpmac,\
|
$(eval $(call KMOD_template,CPMAC,cpmac,\
|
||||||
$(MODULES_DIR)/kernel/drivers/net/avalanche_cpmac/avalanche_cpmac.o \
|
$(MODULES_DIR)/kernel/drivers/net/avalanche_cpmac/avalanche_cpmac.o \
|
||||||
,CONFIG_MIPS_AVALANCHE_CPMAC))
|
,CONFIG_MIPS_AVALANCHE_CPMAC),,10,avalanche_cpmac)
|
||||||
|
|
||||||
|
@ -6,12 +6,15 @@
|
|||||||
#############################################################
|
#############################################################
|
||||||
|
|
||||||
# broadcom specific kmod packages
|
# broadcom specific kmod packages
|
||||||
|
|
||||||
$(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
|
$(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
|
||||||
$(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
|
$(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
|
||||||
,CONFIG_WL))
|
,CONFIG_WL),,10,wl)
|
||||||
|
|
||||||
$(eval $(call KMOD_template,BRCM_ET,brcm-et,\
|
$(eval $(call KMOD_template,BRCM_ET,brcm-et,\
|
||||||
$(MODULES_DIR)/kernel/drivers/net/et/et.o \
|
$(MODULES_DIR)/kernel/drivers/net/et/et.o \
|
||||||
,CONFIG_ET))
|
,CONFIG_ET),,10,et)
|
||||||
|
|
||||||
$(eval $(call KMOD_template,LP,lp,\
|
$(eval $(call KMOD_template,LP,lp,\
|
||||||
$(MODULES_DIR)/kernel/drivers/parport/parport.o \
|
$(MODULES_DIR)/kernel/drivers/parport/parport.o \
|
||||||
$(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \
|
$(MODULES_DIR)/kernel/drivers/parport/parport_splink.o \
|
||||||
|
@ -1 +0,0 @@
|
|||||||
avalanche_cpmac
|
|
@ -1,2 +0,0 @@
|
|||||||
et
|
|
||||||
wl
|
|
@ -1 +0,0 @@
|
|||||||
|
|
@ -1 +0,0 @@
|
|||||||
b44
|
|
Loading…
Reference in New Issue
Block a user