aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openwrt.org>2005-12-25 18:28:26 +0000
committerWaldemar Brodkorb <wbx@openwrt.org>2005-12-25 18:28:26 +0000
commit1e264598ebe4067db3a57d63556172f42c5391ba (patch)
tree17015a7392bb1b8ecfb2f0dcf3874974314d1792 /target/linux/package
parent82e363f78f7a39cef05779b14ea5e971dc93b74d (diff)
downloadupstream-1e264598ebe4067db3a57d63556172f42c5391ba.tar.gz
upstream-1e264598ebe4067db3a57d63556172f42c5391ba.tar.bz2
upstream-1e264598ebe4067db3a57d63556172f42c5391ba.zip
use b44/switch driver on 2.4-brcm and 2.6-brcm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2780 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/package')
-rw-r--r--target/linux/package/switch/Config.in1
-rw-r--r--target/linux/package/switch/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/package/switch/Config.in b/target/linux/package/switch/Config.in
index dcf73a32c8..5f7d7dc867 100644
--- a/target/linux/package/switch/Config.in
+++ b/target/linux/package/switch/Config.in
@@ -1,6 +1,7 @@
config BR2_PACKAGE_KMOD_SWITCH
prompt "kmod-switch....................... Kernel driver for ROBO and ADMTEK SWITCH"
tristate
+ default y if BR2_LINUX_2_6_BRCM || BR2_LINUX_2_4_BRCM
default m if CONFIG_DEVEL
help
Kernel driver for ROBO and ADMTEK switches.
diff --git a/target/linux/package/switch/Makefile b/target/linux/package/switch/Makefile
index 0db826d64a..75b35954ec 100644
--- a/target/linux/package/switch/Makefile
+++ b/target/linux/package/switch/Makefile
@@ -25,7 +25,7 @@ $(PKG_BUILD_DIR)/.configured:
touch $@
$(PKG_BUILD_DIR)/.built:
- $(MAKE) -C "$(LINUX_DIR)" \
+ $(MAKE) -C "$(KERNEL_DIR)" \
CROSS_COMPILE="$(TARGET_CROSS)" \
ARCH="$(LINUX_KARCH)" \
PATH="$(TARGET_PATH)" \