# 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()