aboutsummaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-03-06 21:50:05 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2018-03-07 09:59:08 +0100
commita02a69d5f8a82aec2df7ad14018366d37b68ec11 (patch)
treeb0afb1683657bf10251d44ee9fa052994a9811f7 /target
parent2fbf669730bfa7342b36711d275bfe4c7951ac1b (diff)
downloadupstream-a02a69d5f8a82aec2df7ad14018366d37b68ec11.tar.gz
upstream-a02a69d5f8a82aec2df7ad14018366d37b68ec11.tar.bz2
upstream-a02a69d5f8a82aec2df7ad14018366d37b68ec11.zip
imagebuilder: remove split patch dirs from imagebuilder archive
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'target')
-rw-r--r--target/imagebuilder/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/target/imagebuilder/Makefile b/target/imagebuilder/Makefile
index 418cf59c00..05c7cf3318 100644
--- a/target/imagebuilder/Makefile
+++ b/target/imagebuilder/Makefile
@@ -1,4 +1,4 @@
-#
+#
# Copyright (C) 2006-2015 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
@@ -63,7 +63,8 @@ endif
fi
rm -rf \
$(PKG_BUILD_DIR)/target/linux/*/files{,-*} \
- $(PKG_BUILD_DIR)/target/linux/*/patches{,-*}
+ $(PKG_BUILD_DIR)/target/linux/*/patches{,-*} \
+ $(PKG_BUILD_DIR)/target/linux/generic/{pending,backport,hack}{,-*}
-cp $(KERNEL_BUILD_DIR)/* $(IB_KDIR)/ # don't copy subdirectories here
-cp $(LINUX_DIR)/.config $(IB_LDIR)/
rm -f $(IB_KDIR)/root.*