Author: mwise
Date: Thu Apr 30 12:19:14 2009
New Revision: 5564
URL: http://svn.slimdevices.com/jive?rev=5564&view=rev
Log:
Make clean.sh only remove machine specific files...
Modified:
7.3/trunk/squeezeos/poky/parabuild/clean.sh
Modified: 7.3/trunk/squeezeos/poky/parabuild/clean.sh
URL:
http://svn.slimdevices.com/jive/7.3/trunk/squeezeos/poky/parabuild/clean.sh?rev=5564&r1=5563&r2=5564&view=diff
==============================================================================
--- 7.3/trunk/squeezeos/poky/parabuild/clean.sh (original)
+++ 7.3/trunk/squeezeos/poky/parabuild/clean.sh Thu Apr 30 12:19:14 2009
@@ -2,11 +2,20 @@
echo "Setting environment variables..."
source poky-init-build-env
+
+# Check if a machine type exists
+if [ "x${MACHINE}" != "x" ]
+then
+ echo "*** Building for MACHINE type: ${MACHINE}"
+else
+ echo "ERROR: No MACHINE specified!"
+ exit 1
+fi
echo "Cleaning out squeezeos-image and squeezeplay"
bitbake squeezeos-image -c clean
bitbake squeezeplay -c clean
echo "Removing old binaries"
-rm -rf $PARABUILD_BUILD_DIR/build/tmp/deploy/images/*.bin
-rm -rf $PARABUILD_BUILD_DIR/build/tmp/deploy/images/squeezeos-image-*
+rm -rf $PARABUILD_BUILD_DIR/build/tmp/deploy/images/${MACHINE}*bin
+rm -rf $PARABUILD_BUILD_DIR/build/tmp/deploy/images/squeezeos-image-${MACHINE}*
_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/jive-checkins