new epia target for 512k: targets/via/epia/Config.512kflash.lb
buildtarget now takes either a directory, and uses directory/Config.lb, or takes a file epia defaults to 256k flash git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1166 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
@@ -15,7 +15,7 @@ else
|
||||
fi
|
||||
|
||||
target_dir=$lbpath/targets
|
||||
config_lb=$1/Config.lb
|
||||
config_lb=$1
|
||||
config_dir=$lbpath/util/newconfig
|
||||
config_py=$config_dir/config.py
|
||||
|
||||
@@ -26,8 +26,13 @@ fi
|
||||
|
||||
cd $target_dir
|
||||
|
||||
if [ ! -f $config_lb ]; then
|
||||
config_lb=$1/Config.lb
|
||||
fi
|
||||
|
||||
if [ ! -f $config_lb ]; then
|
||||
echo "No target config file found"
|
||||
echo "Tried both $1 and $config_lb"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user