projects
/
hvutilities.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
hvk: check for EVK_IP before compiling
[hvutilities.git]
/
scripts
/
hvk-save-defconfig.sh
diff --git
a/scripts/hvk-save-defconfig.sh
b/scripts/hvk-save-defconfig.sh
index
8e1f653
..
287ca47
100755
(executable)
--- a/
scripts/hvk-save-defconfig.sh
+++ b/
scripts/hvk-save-defconfig.sh
@@
-4,10
+4,11
@@
SCRIPT="`readlink -e $0`"
SCRIPTPATH=$(dirname ${SCRIPT})
source ${SCRIPTPATH}/hvk-common.sh
SCRIPTPATH=$(dirname ${SCRIPT})
source ${SCRIPTPATH}/hvk-common.sh
-if [ x"${DEFCONFIG_BOARD}" = x"all" ]; then
- "Error, cannot save defconfig for \"all\""
- exit 1
-fi
+case ${DEFCONFIG_BOARD} in
+ all*)
+ "Error, cannot save defconfig for \"${DEFCONFIG_BOARD}\""
+ exit 1
+esac
cfg_prefix="arch/${ARCH}/"
cfg_prefix="arch/${ARCH}/"