diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-13 17:33:32 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2015-12-13 17:33:32 +0100 |
commit | beb1dbaee399cd31f4920a349499eff39a374699 (patch) | |
tree | 6a96d602bc5a5c033ab11128c3618ceecc2803c1 /embedded-test.sh | |
parent | 8f504bc3f93a2287c8d040fd063c63b5bdaeddb6 (diff) |
fix packages usage somehow
Diffstat (limited to 'embedded-test.sh')
-rwxr-xr-x | embedded-test.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/embedded-test.sh b/embedded-test.sh index 6258493..fcac3ae 100755 --- a/embedded-test.sh +++ b/embedded-test.sh @@ -94,6 +94,7 @@ while [[ $1 != -- && $1 = -* ]]; do case $1 { (--skiparch=*) skiparchs=${1#*=}; shift ;; (--tests=*) tests=${1#*=}; shift ;; (--source=*) source=${1#*=}; shift ;; + (--packages=*) packages=${1#*=}; shift ;; (--ntp=*) ntp=${1#*=}; shift ;; (--help) help; shift ;; (--*) echo "unknown option $1"; exit 1 ;; @@ -507,7 +508,10 @@ EOF compile() { rm .config* .defconfig 2>/dev/null make $1 defconfig - for pkg in $pkgs; do p=$(echo $pkg|tr '[:lower:]' '[:upper:]');printf "ADK_COMPILE_$p=y\nADK_PACKAGE_$p=y" >> .config;done + for pkg in $packages; do + p=$(echo $pkg|tr '[:lower:]' '[:upper:]');printf "ADK_COMPILE_$p=y\nADK_PACKAGE_$p=y" >> .config + yes|make oldconfig + done # rebuild uClibc-ng package to get test-suite if [ "$lib" = "uclibc-ng" ]; then make package=$lib clean |