X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=scripts%2Fhvk-common.sh;fp=scripts%2Fhvk-common.sh;h=df6e5f3853d62e09c05a77ce30a6b67bf00eb15f;hb=a57745e6c7db1830cc10e57bbbd13b6623af50d5;hp=fb03814494d47597a565cadc6dc8ec3ef919c2c1;hpb=75de37b596a25e6bcc8951b0f474f0c051d84dd7;p=hvutilities.git diff --git a/scripts/hvk-common.sh b/scripts/hvk-common.sh index fb03814..df6e5f3 100644 --- a/scripts/hvk-common.sh +++ b/scripts/hvk-common.sh @@ -31,6 +31,17 @@ KMAKE="make ${MAKEJOBS_ARG}" # Needed to compile sample userspace programs (rtc-test): export CROSS_COMPILE_KCFLAGS=${KCFLAGS} +DEFCONFIG_OPT="" + +case ${DEFCONFIG_BOARD} in + all*) + DEFCONFIG_OPT="${DEFCONFIG_BOARD}" + ;; + *) + DEFCONFIG_OPT="${DEFCONFIG_BOARD}_defconfig" + ;; +esac + # Arg1: src file # Arg2: destination user@host copy_exec()