Commit c56f4828 authored by Nick Elsmore's avatar Nick Elsmore

Update U-Boot build

parent 3911b005
......@@ -77,20 +77,14 @@ build_kernel() {
}
build_uboot() {
if [ -z $1 ]; then
echo "ERROR: Please specify uboot type"
print_usage
exit 1
elif [ "$1" == "2gb" ]; then
local defconfig="pandora_pyra_lc15_defconfig"
elif [ "$1" == "4gb" ]; then
local defconfig="pandora_pyra_lc15_4gb_defconfig"
else
echo "ERROR: Please specify valid uboot type"
if [[ ! $1 =~ ^[2|4]gb$ ]]; then
echo "ERROR: Please specify a valid uboot type"
print_usage
exit 1
fi
local defconfig="omap5_pyra_$1_defconfig"
(
cd $UBOOT_DIR
make $defconfig
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment