diff options
author | Ronald G. Minnich <rminnich@gmail.com> | 2003-10-01 05:42:31 +0000 |
---|---|---|
committer | Ronald G. Minnich <rminnich@gmail.com> | 2003-10-01 05:42:31 +0000 |
commit | 08febd8b675ca1d32e535e11b631e7a655b510ba (patch) | |
tree | ed75a4beecc17467f2e28c017fb6aa3202ea6545 /targets/buildtarget | |
parent | 320c6a0102a9ccfeffa4eb5eedaec3347b5bc531 (diff) |
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
Diffstat (limited to 'targets/buildtarget')
-rwxr-xr-x | targets/buildtarget | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/targets/buildtarget b/targets/buildtarget index 273a26bab2..9f8cb31619 100755 --- a/targets/buildtarget +++ b/targets/buildtarget @@ -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 @@ -27,7 +27,12 @@ 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 |