summaryrefslogtreecommitdiff
path: root/openwrt/target
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-12-25 14:28:09 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-12-25 14:28:09 +0000
commit874b56053e03ccb74ab4bc20378476cc6dafd3e3 (patch)
tree4e30244f0aee1357c283fbedfdedd449722c3d46 /openwrt/target
parente7f310ff07b0f201ff40beabc5b9db0f7632366e (diff)
downloadmtk-20170518-874b56053e03ccb74ab4bc20378476cc6dafd3e3.zip
mtk-20170518-874b56053e03ccb74ab4bc20378476cc6dafd3e3.tar.gz
mtk-20170518-874b56053e03ccb74ab4bc20378476cc6dafd3e3.tar.bz2
fix switch driver makefile
SVN-Revision: 2778
Diffstat (limited to 'openwrt/target')
-rw-r--r--openwrt/target/linux/package/switch/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/switch/Makefile b/openwrt/target/linux/package/switch/Makefile
index 2f628e4..0d597b1 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)