1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

Initial population

git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie
2005-08-31 10:45:47 +00:00
commit 4b46c1f6e8
1032 changed files with 232488 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#
# Removes source after build
#
# To use it add that line to conf/local.conf:
#
# INHERIT += "rm_work"
#
do_rm_work () {
cd ${WORKDIR}
for dir in *
do
if [ `basename ${S}` == $dir ]; then
rm -rf $dir/*
elif [ $dir != 'temp' ]; then
rm -rf $dir
fi
done
}
addtask rm_work before do_build
addtask rm_work after do_package