summaryrefslogtreecommitdiff
path: root/openwrt/target/linux/package/switch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-12-25 18:28:26 +0000
committerWaldemar Brodkorb <mail@waldemar-brodkorb.de>2005-12-25 18:28:26 +0000
commitb3f574ebe87fd5e1038573a4954d027f338eeff9 (patch)
tree64eafc51de8bc0f83a69eb170361ebb51fa93ddc /openwrt/target/linux/package/switch
parente86714af0824fb817ff9ad798f42f22aece6728b (diff)
downloadmtk-20170518-b3f574ebe87fd5e1038573a4954d027f338eeff9.zip
mtk-20170518-b3f574ebe87fd5e1038573a4954d027f338eeff9.tar.gz
mtk-20170518-b3f574ebe87fd5e1038573a4954d027f338eeff9.tar.bz2
use b44/switch driver on 2.4-brcm and 2.6-brcm
SVN-Revision: 2780
Diffstat (limited to 'openwrt/target/linux/package/switch')
-rw-r--r--openwrt/target/linux/package/switch/Config.in1
-rw-r--r--openwrt/target/linux/package/switch/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/openwrt/target/linux/package/switch/Config.in b/openwrt/target/linux/package/switch/Config.in
index dcf73a3..5f7d7dc 100644
--- a/openwrt/target/linux/package/switch/Config.in
+++ b/openwrt/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/openwrt/target/linux/package/switch/Makefile b/openwrt/target/linux/package/switch/Makefile
index 0db826d..75b3595 100644
--- a/openwrt/target/linux/package/switch/Makefile
+++ b/openwrt/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)" \