diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2013-12-09 14:58:06 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2013-12-09 14:58:06 +0100 |
commit | 6853ffaacba55da17dcc79daf5cd17799f3b0fd1 (patch) | |
tree | 3256eeec21d2f895069d244b8fda3f4bb327fd4a | |
parent | 91040cc6fb33ba4752c391cc499868ea8242866b (diff) |
fix to only say le or be in metadata.json
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rwxr-xr-x | linux-lng.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linux-lng.sh b/linux-lng.sh index 1f3fa76..5faa9bd 100755 --- a/linux-lng.sh +++ b/linux-lng.sh @@ -6,6 +6,7 @@ export parent_workspace="/mnt/ci_build/workspace/linux-lng" export reference_git="${parent_workspace}/reference-git" export linux_git="${linux_git:-git://git.linaro.org/kernel/linux-linaro-lng.git}" export linux_branch="${linux_branch:-linux-lng}" +endian=${endian:-le} if [ -z "${WORKSPACE}" ]; then # Local build @@ -52,6 +53,7 @@ case "${hwpack}" in export device_type="arndale" export rootfs_arch="armv7ab" lmc_dev="arndale" + endian="be" ;; vexpress64) export hwpack_type="vexpress64" @@ -88,7 +90,7 @@ gzip -9 ${hwpack}-lng-sd.img cat << EOF > metadata.json { "linux.hash":"$(git log -n1 --pretty=format:%h)", -"hwpack.endian":"${hwpack}" +"hwpack.endian":"${endian}" } EOF |