summaryrefslogtreecommitdiff
path: root/embedded-test.sh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-30 23:15:47 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-07-30 23:15:47 +0200
commit0df380362eb61197d0f1487d9230e2676ed9f23f (patch)
treeaeba686ce90dc9140328a71af44d61fe6b7fd49b /embedded-test.sh
parentdbe46bfc493c2bed10236653072f8a298f5a91b3 (diff)
allow to choose specific binutils, gcc or gdb version
Diffstat (limited to 'embedded-test.sh')
-rwxr-xr-xembedded-test.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/embedded-test.sh b/embedded-test.sh
index f44ce34..fcaaccf 100755
--- a/embedded-test.sh
+++ b/embedded-test.sh
@@ -1182,6 +1182,15 @@ build() {
if [[ $kernelversion ]]; then
DEFAULT="$DEFAULT ADK_TARGET_KERNEL_VERSION=$kernelversion"
fi
+ if [[ $binutilsversion ]]; then
+ DEFAULT="$DEFAULT ADK_TOOLCHAIN_BINUTILS_VERSION=$binutilsversion"
+ fi
+ if [[ $gccversion ]]; then
+ DEFAULT="$DEFAULT ADK_TOOLCHAIN_GCC_VERSION=$gccversion"
+ fi
+ if [[ $gdbversion ]]; then
+ DEFAULT="$DEFAULT ADK_TOOLCHAIN_GDB_VERSION=$gdbversion"
+ fi
rm .config* .defconfig 2>/dev/null
echo "Using following defaults: $DEFAULT"