X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/880e31f778b378d13cec730c5b922ce6ba36fff4..9a34da50602a3b14cfeeb3386fd7a142c12141f6:/target/linux/package/switch/Makefile?ds=sidebyside diff --git a/target/linux/package/switch/Makefile b/target/linux/package/switch/Makefile index 0d597b1f5..75b35954e 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 "$(KERNEL_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):