diff options
Diffstat (limited to 'embedded-test.sh')
-rwxr-xr-x | embedded-test.sh | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/embedded-test.sh b/embedded-test.sh index e5c7aa0..f2931aa 100755 --- a/embedded-test.sh +++ b/embedded-test.sh @@ -120,7 +120,6 @@ create=0 static=0 ssp=0 debug=0 -threads="" ntp="" libc="" test="toolchain" @@ -1298,14 +1297,16 @@ build() { if [ $debug -eq 1 ]; then printf "ADK_DEBUG=y" >> .config fi - if [ $threads = "none" ]; then - printf "ADK_TARGET_WITHOUT_THREADS=y" >> .config - fi - if [ $threads = "lt" ]; then - printf "ADK_TARGET_WITH_LT=y" >> .config - fi - if [ $threads = "nptl" ]; then - printf "ADK_TARGET_WITH_NPTL=y" >> .config + if [ ! -z $threads ]; then + if [ $threads = "none" ]; then + printf "ADK_TARGET_WITHOUT_THREADS=y" >> .config + fi + if [ $threads = "lt" ]; then + printf "ADK_TARGET_WITH_LT=y" >> .config + fi + if [ $threads = "nptl" ]; then + printf "ADK_TARGET_WITH_NPTL=y" >> .config + fi fi for pkg in $packages; do |