mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-10 17:09:41 +02:00
fix switch driver makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2778 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8b6a1ab510
commit
1bf9e140d4
@ -21,6 +21,9 @@ $(PKG_BUILD_DIR)/.prepared:
|
||||
cp -fpR ./src/* $(PKG_BUILD_DIR)/
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.configured:
|
||||
touch $@
|
||||
|
||||
$(PKG_BUILD_DIR)/.built:
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
PATH="$(TARGET_PATH)" \
|
||||
@ -33,7 +36,7 @@ $(PKG_BUILD_DIR)/.built:
|
||||
touch $@
|
||||
|
||||
$(IPKG_KMOD_SWITCH):
|
||||
install -m0755 $(IDIR_KMOD_SWITCH)/lib/modules/$(LINUX_VERSION)
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user