diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-25 14:28:09 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2005-12-25 14:28:09 +0000 |
commit | 1bf9e140d4d50b841f0bbddd39513df39d156990 (patch) | |
tree | e988313ba65b844c0d337553ad74b5164c73e5da | |
parent | 8b6a1ab51008a9be622a449a2b513ab9e0330523 (diff) |
fix switch driver makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@2778 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | openwrt/target/linux/package/switch/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/switch/Makefile b/openwrt/target/linux/package/switch/Makefile index 2f628e4b9..0d597b1f5 100644 --- a/openwrt/target/linux/package/switch/Makefile +++ b/openwrt/target/linux/package/switch/Makefile @@ -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) |