mirror of https://github.com/hak5/openwrt.git
first load network driver (10), then wlan driver (20) and then wlcompat, so the order of eth0/eth1 is as used to
SVN-Revision: 2814lede-17.01
parent
39701f3264
commit
a3489cb481
|
@ -8,11 +8,11 @@
|
|||
# broadcom specific kmod packages
|
||||
$(eval $(call KMOD_template,BRCM_WL,brcm-wl,\
|
||||
$(MODULES_DIR)/kernel/drivers/net/wl/wl.o \
|
||||
,CONFIG_WL,,10,wl))
|
||||
,CONFIG_WL,,20,wl))
|
||||
|
||||
$(eval $(call KMOD_template,BRCM_WL2,brcm-wl2,\
|
||||
$(BUILD_DIR)/wl/wl2/wl.o \
|
||||
,CONFIG_WL,,10,wl))
|
||||
,CONFIG_WL,,20,wl))
|
||||
|
||||
$(eval $(call KMOD_template,BRCM_ET,brcm-et,\
|
||||
$(MODULES_DIR)/kernel/drivers/net/et/et.o \
|
||||
|
|
|
@ -35,7 +35,7 @@ $(PKG_BUILD_DIR)/wlcompat-debug.o: $(PKG_BUILD_DIR)/.prepared
|
|||
|
||||
$(IPKG_KMOD_WLCOMPAT): $(PKG_BUILD_DIR)/wlcompat.o
|
||||
mkdir -p $(IDIR_KMOD_WLCOMPAT)/etc/modules.d
|
||||
echo "wlcompat" > $(IDIR_KMOD_WLCOMPAT)/etc/modules.d/10-wlcompat
|
||||
echo "wlcompat" > $(IDIR_KMOD_WLCOMPAT)/etc/modules.d/30-wlcompat
|
||||
mkdir -p $(IDIR_KMOD_WLCOMPAT)/lib/modules/$(LINUX_VERSION)
|
||||
cp $(PKG_BUILD_DIR)/wlcompat.o $(IDIR_KMOD_WLCOMPAT)/lib/modules/$(LINUX_VERSION)/
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_WLCOMPAT) $(PACKAGE_DIR)
|
||||
|
|
Loading…
Reference in New Issue