summaryrefslogtreecommitdiff
path: root/payloads/libpayload/Config.in
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2009-05-21 10:02:52 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2009-05-21 10:02:52 +0000
commitd385ed29b94af71dedeb5f44d72ad8dab43c4664 (patch)
tree6eea529dc55d67078ac9fc0fbf271189318c4a12 /payloads/libpayload/Config.in
parent1e6f6929c1ee96b291ef17e8d801f376a5dbb0d2 (diff)
downloadcoreboot-d385ed29b94af71dedeb5f44d72ad8dab43c4664.tar.xz
This change adds PPC support to libpayload, and hooks it up in the build
process. The PPC support is still stubbed, with commented out x86 code as guide line for an implementor. Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4293 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'payloads/libpayload/Config.in')
-rw-r--r--payloads/libpayload/Config.in20
1 files changed, 16 insertions, 4 deletions
diff --git a/payloads/libpayload/Config.in b/payloads/libpayload/Config.in
index 55f09f7b2d..e0add21f4d 100644
--- a/payloads/libpayload/Config.in
+++ b/payloads/libpayload/Config.in
@@ -30,15 +30,27 @@
mainmenu "Libpayload Configuration"
-# When (if) we support multiple architectures, this will become an option.
+menu "Architecture Options"
+
+choice
+ prompt "Target Architecture"
+ default TARGET_I386
+
config TARGET_I386
- bool
- default y
+ bool "x86"
+ help
+ Support the x86 architecture
-menu "Architecture Options"
+config TARGET_POWERPC
+ bool "PowerPC"
+ help
+ Support the PowerPC architecture
+
+endchoice
config MULTIBOOT
bool "Multiboot header support"
+ depends on TARGET_I386
default y
endmenu