aboutsummaryrefslogtreecommitdiffstats
path: root/include/rootfs.mk
diff options
context:
space:
mode:
authorYousong Zhou <yszhou4tech@gmail.com>2017-03-05 16:17:17 +0800
committerYousong Zhou <yszhou4tech@gmail.com>2017-05-02 22:10:50 +0800
commitdac629f71093715ea002c7949a9888188e58984e (patch)
treee2bb34130d98ce9fc4c64a98ce4cd8cb850f08f6 /include/rootfs.mk
parent60081f9a0072c2a5caecea617e84a9d2001f7f07 (diff)
downloadupstream-dac629f71093715ea002c7949a9888188e58984e.tar.gz
upstream-dac629f71093715ea002c7949a9888188e58984e.tar.bz2
upstream-dac629f71093715ea002c7949a9888188e58984e.zip
build: cleanup tmp/ dir of target rootfs
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'include/rootfs.mk')
-rw-r--r--include/rootfs.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rootfs.mk b/include/rootfs.mk
index c014b1d14a..74785cbbd3 100644
--- a/include/rootfs.mk
+++ b/include/rootfs.mk
@@ -80,6 +80,7 @@ define prepare_rootfs
@-find $(1) -name .svn | $(XARGS) rm -rf
@-find $(1) -name .git | $(XARGS) rm -rf
@-find $(1) -name '.#*' | $(XARGS) rm -f
+ rm -rf $(1)/tmp/*
rm -f $(1)/usr/lib/opkg/lists/*
rm -f $(1)/usr/lib/opkg/info/*.postinst*
rm -f $(1)/usr/lib/opkg/info/*.prerm*