aboutsummaryrefslogtreecommitdiffstats
path: root/jjb/common/include-apps-header.sh
diff options
context:
space:
mode:
authorJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-06-09 19:16:00 +0200
committerJan-Simon Möller <jsmoeller@linuxfoundation.org>2017-06-09 22:03:01 +0200
commitcf1fc8e08722790752176df0d875a1be8e9c3a32 (patch)
tree8607eda81c8c6e543bc0861881482053b204e295 /jjb/common/include-apps-header.sh
parent60ab5c6e78b375c51051a7eacccf5f9ba3c9b37f (diff)
Update application build to support multiarch builds and upload
Change-Id: I1998a8a0ae8ad16029fb834e87f06cdc760426d1 Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'jjb/common/include-apps-header.sh')
-rw-r--r--jjb/common/include-apps-header.sh20
1 files changed, 15 insertions, 5 deletions
diff --git a/jjb/common/include-apps-header.sh b/jjb/common/include-apps-header.sh
index 7c60b1af..eb57c926 100644
--- a/jjb/common/include-apps-header.sh
+++ b/jjb/common/include-apps-header.sh
@@ -25,12 +25,17 @@ function dprint() {
}
#export TARGETARCHALL="arm aarch64 x86-64"
+#set | grep arm
+#set | grep aarch64
+#set | grep x86-64
-if test x"" = x"${architecture}"; then
- export TARGETARCH="arm"
-else
- export TARGETARCH="${architecture}"
-fi
+echo "################################################################################"
+set | grep TARGETARCH
+echo "################################################################################"
+#if test x"" = x"${TARGETARCH}"; then
+# export TARGETARCH="arm"
+#fi
+#set +x
# finally cmdline arguments
while getopts ":b:a:p:r:dvx" opt; do
@@ -126,3 +131,8 @@ if test x"" = x"$TARGETSDKMACHINE" ; then
echo "No TARGETSDKMACHINE variable. Exiting."
exit 1
fi
+
+
+echo "################################################################################"
+set | grep ^TARGET
+echo "################################################################################"