projects
/
openwrt
/
staging
/
yousong.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
build: cleanup tmp/ dir of target rootfs
[openwrt/staging/yousong.git]
/
include
/
rootfs.mk
diff --git
a/include/rootfs.mk
b/include/rootfs.mk
index dc400a05ed4215a3ca4eb889206c81037b9b56f1..bd9af6ae4906b703c3ad666ba7e9312641ad728f 100644
(file)
--- 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*
$(call clean_ipkg,$(1))