From beb1dbaee399cd31f4920a349499eff39a374699 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 13 Dec 2015 17:33:32 +0100 Subject: fix packages usage somehow --- embedded-test.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'embedded-test.sh') 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 -- cgit v1.2.3