Commit 621f0461 authored by Thomas Guillem's avatar Thomas Guillem

buildcommon: add -s to strip (even in DEBUG)

parent f4c2edc8
......@@ -13,7 +13,7 @@ checkfail "buildemotion.sh failed"
${PROJECTPATH}/buildmedialibrary.sh $*
checkfail "buildmedialibrary.sh failed"
if [ "$RELEASE" = 1 ]; then
if [ "$RELEASE" = 1 -o "$STRIP" = 1 ]; then
echo -e "\e[1m\e[32mStripping\e[0m"
${CROSS_COMPILE}strip -v ${PROJECTPATH}/lib/*
checkfail "stripping"
......
......@@ -22,6 +22,7 @@ checkfail()
#############
RELEASE=0
STRIP=0
while [ $# -gt 0 ]; do
case $1 in
help|--help)
......@@ -33,6 +34,9 @@ while [ $# -gt 0 ]; do
export TIZEN_ABI=$2
shift
;;
s|-s)
export STRIP=1
;;
release|--release)
export RELEASE=1
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment