dtb_board: strip .conf if user specifies it like that

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/22/head
Robert Nelson 12 years ago
parent 5e6da68c99
commit 8e7f867541

@ -1319,6 +1319,7 @@ function check_mmc {
check_dtb_board () {
invalid_dtb=1
dtb_board=$(echo ${dtb_board} | awk -F ".conf" '{print $1}')
if [ -f "${DIR}"/hwpack/${dtb_board}.conf ] ; then
source "${DIR}"/hwpack/${dtb_board}.conf
populate_dtbs=1

Loading…
Cancel
Save