diff options
author | Felix Fietkau <nbd@nbd.name> | 2020-10-19 11:28:29 +0200 |
---|---|---|
committer | David Bauer <mail@david-bauer.net> | 2020-10-26 02:36:02 +0100 |
commit | a4c1c169c391ac0b11e4c3e895b282f07585347c (patch) | |
tree | 5860c48030a23ddb2f88cfc5a56a321c3cac1625 /target/sdk | |
parent | c9e9b8c342d918cedfc4d2e1c2f7fd1fcaf0b56b (diff) | |
download | upstream-a4c1c169c391ac0b11e4c3e895b282f07585347c.tar.gz upstream-a4c1c169c391ac0b11e4c3e895b282f07585347c.tar.bz2 upstream-a4c1c169c391ac0b11e4c3e895b282f07585347c.zip |
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 <nbd@nbd.name>
Diffstat (limited to 'target/sdk')
-rw-r--r-- | target/sdk/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/target/sdk/Makefile b/target/sdk/Makefile index 022a791ebf..4a9dc8be41 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 |