imagebuilder: remove split patch dirs from imagebuilder archive
authorMatthias Schiffer <mschiffer@universe-factory.net>
Tue, 6 Mar 2018 20:50:05 +0000 (21:50 +0100)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Wed, 7 Mar 2018 08:59:08 +0000 (09:59 +0100)
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
target/imagebuilder/Makefile

index 418cf59c00f3ca4120af9a4be7ea0b7068a67450..05c7cf3318deb18af1851524c533b1c47af52e1e 100644 (file)
@@ -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.*