From: Felix Fietkau Date: Mon, 19 Oct 2020 09:28:29 +0000 (+0200) Subject: sdk: keep the linux package in the same subdir as in the main build system X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Frmilecki.git;a=commitdiff_plain;h=a4c1c169c391ac0b11e4c3e895b282f07585347c sdk: keep the linux package in the same subdir as in the main build system Fixes: 953435795d17 ("build: always build package/kernel/linux") Signed-off-by: Felix Fietkau --- diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 022a791ebfe..4a9dc8be41b 100644 --- a/target/sdk/Makefile +++ b/target/sdk/Makefile @@ -129,11 +129,14 @@ $(BIN_DIR)/$(SDK_NAME).tar.xz: clean ./files/include/prepare.mk \ ./files/README.SDK \ $(SDK_BUILD_DIR)/ + mkdir -p $(SDK_BUILD_DIR)/package/kernel $(CP) \ $(TOPDIR)/package/Makefile \ $(TOPDIR)/package/libs/toolchain \ - $(TOPDIR)/package/kernel/linux \ $(SDK_BUILD_DIR)/package/ + $(CP) \ + $(TOPDIR)/package/kernel/linux \ + $(SDK_BUILD_DIR)/package/kernel/ -rm -rf $(SDK_BUILD_DIR)/$(STAGING_SUBDIR_HOST)/.prereq-build