Skip to content

Commit

Permalink
include flame in the full flash
Browse files Browse the repository at this point in the history
moving the variable logic from setup.sh to load-config.sh

remove other patch
  • Loading branch information
nhirata committed Apr 15, 2014
1 parent 4f399b7 commit 6a65886
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion config.sh
Expand Up @@ -122,7 +122,7 @@ case "$1" in

"flame")
echo PRODUCT_NAME=$1 >> .tmp-config &&
repo_sync $1
repo_sync $1
;;

"fugu")
Expand Down
2 changes: 1 addition & 1 deletion flash.sh
Expand Up @@ -333,7 +333,7 @@ case "$DEVICE" in
exit $?
;;

"otoro"|"unagi"|"keon"|"peak"|"inari"|"sp8810ea"|"wasabi"|"flatfish")
"flame"|"otoro"|"unagi"|"keon"|"peak"|"inari"|"sp8810ea"|"wasabi"|"flatfish")
flash_fastboot nounlock $PROJECT
;;

Expand Down
5 changes: 5 additions & 0 deletions load-config.sh
Expand Up @@ -18,3 +18,8 @@ fi
if [ -z $GECKO_PATH ]; then
GECKO_PATH=$B2G_DIR/gecko
fi

VARIANT=${VARIANT:-eng}
PRODUCT_NAME=${PRODUCT_NAME:-full_${DEVICE}}
DEVICE=${DEVICE:-${PRODUCT_NAME}}
LUNCH=${LUNCH:-${PRODUCT_NAME}-${VARIANT}}
5 changes: 0 additions & 5 deletions setup.sh
Expand Up @@ -2,11 +2,6 @@

. load-config.sh

VARIANT=${VARIANT:-eng}
PRODUCT_NAME=${PRODUCT_NAME:-full_${DEVICE}}
DEVICE=${DEVICE:-${PRODUCT_NAME}}
LUNCH=${LUNCH:-${PRODUCT_NAME}-${VARIANT}}

export USE_CCACHE=yes &&
export GECKO_PATH &&
export GAIA_PATH &&
Expand Down

0 comments on commit 6a65886

Please sign in to comment.