mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-27 14:39:53 +02:00
fix #210
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2982 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
693e5a62fc
commit
326171d430
@ -31,11 +31,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
|
||||
$(IPKG_KMOD_SWITCH):
|
||||
install -m0755 -d $(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
|
||||
install -m0755 -d $(IDIR_KMOD_SWITCH)/etc/modules.d
|
||||
cp -fpR $(PKG_BUILD_DIR)/*.$(LINUX_KMOD_SUFFIX) \
|
||||
$(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
|
||||
echo "switch-core" > $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
|
||||
echo "switch-robo" >> $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
|
||||
echo "switch-adm" >> $(IDIR_KMOD_SWITCH)/etc/modules.d/50-switch
|
||||
$(IPKG_BUILD) $(IDIR_KMOD_SWITCH) $(PACKAGE_DIR)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user