From 83b991afff40e12a8b6756af06a472842edb1a66 Mon Sep 17 00:00:00 2001 From: Eric Biederman Date: Sat, 11 Oct 2003 06:20:25 +0000 Subject: - O2, enums, and switch statements work in romcc - Support for compiling romcc on non x86 platforms - new romc options -msse and -mmmx for specifying extra registers to use - Bug fixes to device the device disable/enable framework and an amd8111 implementation - Move the link specification to the chip specification instead of the path - Allow specifying devices with internal bridges. - Initial via epia support - Opteron errata fixes git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1200 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- targets/buildtarget | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) (limited to 'targets/buildtarget') diff --git a/targets/buildtarget b/targets/buildtarget index 9f8cb31619..88d09b7c88 100755 --- a/targets/buildtarget +++ b/targets/buildtarget @@ -1,5 +1,5 @@ #!/bin/sh - +PYTHON=python # Target build script if [ $# -lt 1 ]; then @@ -17,7 +17,9 @@ fi target_dir=$lbpath/targets config_lb=$1 config_dir=$lbpath/util/newconfig -config_py=$config_dir/config.py +yapps2_py=$config_dir/yapps2.py +config_g=$config_dir/config.g +config_py=$config_lb/config.py if [ ! -d $target_dir ]; then echo "Target directory not found" @@ -38,18 +40,12 @@ fi if [ ! -f $config_py ]; then echo "No linuxbios config script found. Rebuilding it.." - ( - cd $config_dir - make config.py - ) - echo "done." - # exit 1 + $PYTHON $yapps2_py $config_g $config_py fi # make sure config.py is up-to-date -(cd $config_dir && make config.py) - -python $config_py $config_lb $lbpath +export PYTHONPATH=$config_dir +$PYTHON $config_py $config_lb $lbpath exit $? -- cgit v1.2.3