From 874b56053e03ccb74ab4bc20378476cc6dafd3e3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 25 Dec 2005 14:28:09 +0000 Subject: [PATCH] fix switch driver makefile SVN-Revision: 2778 --- openwrt/target/linux/package/switch/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/openwrt/target/linux/package/switch/Makefile b/openwrt/target/linux/package/switch/Makefile index 2f628e4b97..0d597b1f5d 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) -- 2.30.2