aboutsummaryrefslogtreecommitdiff
path: root/targets
diff options
context:
space:
mode:
Diffstat (limited to 'targets')
-rw-r--r--targets/arima/hdama/Config.lb6
-rwxr-xr-xtargets/buildtarget18
2 files changed, 9 insertions, 15 deletions
diff --git a/targets/arima/hdama/Config.lb b/targets/arima/hdama/Config.lb
index 6c74ee6207..51d00fb3c4 100644
--- a/targets/arima/hdama/Config.lb
+++ b/targets/arima/hdama/Config.lb
@@ -93,9 +93,7 @@ romimage "normal"
option ROM_IMAGE_SIZE=0x10000
option LINUXBIOS_EXTRA_VERSION=".0Normal"
mainboard arima/hdama
- payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
-# use this to test a build if you don't have the etherboot
-# payload /etc/hosts
+ payload /usr/share/etherboot/5.2.1eb1-lnxi-lb/tg3--ide_disk.zelf
end
romimage "fallback"
@@ -103,7 +101,7 @@ romimage "fallback"
option ROM_IMAGE_SIZE=0x10000
option LINUXBIOS_EXTRA_VERSION=".0Fallback"
mainboard arima/hdama
- payload /usr/share/etherboot/5.1.9pre2-lnxi-lb/tg3--ide_disk.zelf
+ payload /usr/share/etherboot/5.2.1eb1-lnxi-lb/tg3--ide_disk.zelf
# use this to test a build if you don't have the etherboot
# payload /etc/hosts
end
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 $?