aboutsummaryrefslogtreecommitdiff
path: root/board-js2x
diff options
context:
space:
mode:
authorThomas Huth <thuth@linux.vnet.ibm.com>2011-07-12 16:21:09 +0200
committerThomas Huth <thuth@linux.vnet.ibm.com>2011-10-12 09:00:04 +0200
commit4e4101fed2b519f8938c89f219050eca3132ebe9 (patch)
tree84423ae4202fbb112069320b33ff962be8cdaf56 /board-js2x
parent399e16b3f77cda49e6a92af401415f6e8f4faa0d (diff)
downloadSLOF-4e4101fed2b519f8938c89f219050eca3132ebe9.zip
SLOF-4e4101fed2b519f8938c89f219050eca3132ebe9.tar.gz
SLOF-4e4101fed2b519f8938c89f219050eca3132ebe9.tar.bz2
JS2x: Detect the availability of biosemu automatically.
Since the biosemu code is optional, the config file now determines its availability automatically. Signed-off-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Diffstat (limited to 'board-js2x')
-rw-r--r--board-js2x/config6
1 files changed, 6 insertions, 0 deletions
diff --git a/board-js2x/config b/board-js2x/config
index 3f6a6c8..d6891e1 100644
--- a/board-js2x/config
+++ b/board-js2x/config
@@ -3,5 +3,11 @@ TARG=ppc64
export FLAG="-DBIOSEMU"
export CPUARCH=ppc970
export CPUARCHDEF=-DCPU_PPC970
+
+ifneq ($(wildcard ../other-licence/x86emu/*.c),)
export SNK_BIOSEMU_APPS=1
+else
+export SNK_BIOSEMU_APPS=0
+endif
+
FLASH_SIZE=8388608