瀏覽代碼

imagebuilder: remove split patch dirs from imagebuilder archive

Signed-off-by: Matthias Schiffer <[email protected]>
Matthias Schiffer 7 年之前
父節點
當前提交
a02a69d5f8
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      target/imagebuilder/Makefile

+ 3 - 2
target/imagebuilder/Makefile

@@ -1,4 +1,4 @@
-# 
+#
 # Copyright (C) 2006-2015 OpenWrt.org
 # Copyright (C) 2006-2015 OpenWrt.org
 #
 #
 # This is free software, licensed under the GNU General Public License v2.
 # This is free software, licensed under the GNU General Public License v2.
@@ -63,7 +63,8 @@ endif
 	fi
 	fi
 	rm -rf \
 	rm -rf \
 		$(PKG_BUILD_DIR)/target/linux/*/files{,-*} \
 		$(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 $(KERNEL_BUILD_DIR)/* $(IB_KDIR)/ # don't copy subdirectories here
 	-cp $(LINUX_DIR)/.config $(IB_LDIR)/
 	-cp $(LINUX_DIR)/.config $(IB_LDIR)/
 	rm -f $(IB_KDIR)/root.*
 	rm -f $(IB_KDIR)/root.*