From 61848e4fbe8319229670c36b1315c0a879898361 Mon Sep 17 00:00:00 2001 From: David Kohen Date: Sun, 6 Feb 2011 20:29:33 +0200 Subject: [PATCH] Enable the creation of a debug bacon Change-Id: I509e279a6bf31fd9749ccc6eb2a71b4312d7e764 --- tools/squisher | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/squisher b/tools/squisher index d59b4bc9..3e7b058c 100755 --- a/tools/squisher +++ b/tools/squisher @@ -23,7 +23,11 @@ if [ -z "$OUT" -o ! -d "$OUT" ]; then exit 1 fi -OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip +if [ "$TARGET_BUILD_TYPE" = "debug" ]; then + OTAPACKAGE=$OUT/${TARGET_PRODUCT}_debug-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip +else + OTAPACKAGE=$OUT/$TARGET_PRODUCT-ota-$TARGET_BUILD_VARIANT.$LOGNAME.zip +fi if [ ! -f "$OTAPACKAGE" ]; then echo "$OTAPACKAGE doesn't exist!"; exit 1