summaryrefslogtreecommitdiff
path: root/target/linux/package/switch/Makefile
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-25 15:15:32 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2005-12-25 15:15:32 +0000
commitd652f305ac241e90971276bfe460d4939ea32100 (patch)
tree5ae38618aacf97617a95272fe4622f0588363592 /target/linux/package/switch/Makefile
parent880e31f778b378d13cec730c5b922ce6ba36fff4 (diff)
fix switch driver makefiles for 2.4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2779 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package/switch/Makefile')
-rw-r--r--target/linux/package/switch/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/target/linux/package/switch/Makefile b/target/linux/package/switch/Makefile
index 0d597b1f5d..0db826d64a 100644
--- a/target/linux/package/switch/Makefile
+++ b/target/linux/package/switch/Makefile
@@ -25,14 +25,13 @@ $(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C $(PKG_BUILD_DIR) \
- PATH="$(TARGET_PATH)" \
- ARCH="$(LINUX_KARCH)" \
+ $(MAKE) -C "$(LINUX_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
- KERNEL_VERSION="$(KERNEL_VERSION)" \
- KERNEL_DIR="$(KERNEL_DIR)" \
+ ARCH="$(LINUX_KARCH)" \
+ PATH="$(TARGET_PATH)" \
+ SUBDIRS="$(PKG_BUILD_DIR)" \
EXTRA_CFLAGS="-DBCMGPIO2" \
- all
+ modules
touch $@
$(IPKG_KMOD_SWITCH):