diff options
Diffstat (limited to 'openwrt/target/linux/package/switch')
-rw-r--r-- | openwrt/target/linux/package/switch/Config.in | 1 | ||||
-rw-r--r-- | openwrt/target/linux/package/switch/Makefile | 2 |
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 dcf73a32c..5f7d7dc86 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 0db826d64..75b35954e 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)" \ |