cleanup/merge: error_invalid_uboot_dtb -> error_invalid_dtb

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent c88740ecbc
commit e9c3f1c74e

@ -43,7 +43,6 @@ unset EXPERIMENTAL_KERNEL
unset KERNEL_DEB unset KERNEL_DEB
GIT_VERSION=$(git rev-parse --short HEAD) GIT_VERSION=$(git rev-parse --short HEAD)
error_invalid_uboot_dtb=1
DIST=wheezy DIST=wheezy
ARCH=armhf ARCH=armhf
@ -1537,7 +1536,7 @@ process_dtb_conf () {
} }
check_dtb_board () { check_dtb_board () {
error_invalid_uboot_dtb=1 error_invalid_dtb=1
#/hwpack/${dtb_board}.conf #/hwpack/${dtb_board}.conf
unset leading_slash unset leading_slash
@ -1551,7 +1550,7 @@ check_dtb_board () {
if [ -f "${DIR}"/hwpack/${dtb_board}.conf ] ; then if [ -f "${DIR}"/hwpack/${dtb_board}.conf ] ; then
. "${DIR}"/hwpack/${dtb_board}.conf . "${DIR}"/hwpack/${dtb_board}.conf
populate_dtbs=1 populate_dtbs=1
unset error_invalid_uboot_dtb unset error_invalid_dtb
process_dtb_conf process_dtb_conf
else else
uboot_dtb_error uboot_dtb_error
@ -1693,7 +1692,7 @@ checkparm () {
fi fi
} }
error_invalid_uboot_dtb=1 error_invalid_dtb=1
# parse commandline options # parse commandline options
while [ ! -z "$1" ] ; do while [ ! -z "$1" ] ; do
@ -1792,9 +1791,9 @@ if [ ! "${media}" ] ; then
usage usage
fi fi
if [ "${error_invalid_uboot_dtb}" ] ; then if [ "${error_invalid_dtb}" ] ; then
echo "-----------------------------" echo "-----------------------------"
echo "ERROR: --uboot/--dtb undefined" echo "ERROR: --dtb undefined"
echo "-----------------------------" echo "-----------------------------"
uboot_dtb_error uboot_dtb_error
exit exit

Loading…
Cancel
Save