summaryrefslogtreecommitdiffstats
path: root/platforms/barebox.in
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2012-09-06 12:55:45 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2012-09-06 18:13:37 +0200
commitd6d116b046803e2edf728827c524feaf18dc19c7 (patch)
tree1ea0ebaee67f6df2b0ebd1b4cfedef300a692fe1 /platforms/barebox.in
parenta75fd275e44d2f682ce49c6fa542915d3a47161f (diff)
downloadptxdist-d6d116b046803e2edf728827c524feaf18dc19c7.tar.gz
ptxdist-d6d116b046803e2edf728827c524feaf18dc19c7.tar.xz
barebox: move BAREBOX_ARCH_STRING
...so that it is available, even if barebox is not activated. This is needed to if you want to compile extra barebox packages, even if the main barebox is not activated. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms/barebox.in')
-rw-r--r--platforms/barebox.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/platforms/barebox.in b/platforms/barebox.in
index 96571d5b0..80b19f03e 100644
--- a/platforms/barebox.in
+++ b/platforms/barebox.in
@@ -1,5 +1,12 @@
## SECTION=bootloader
+config BAREBOX_ARCH_STRING
+ string
+ default "arm" if ARCH_ARM
+ default "blackfin" if ARCH_BLACKFIN
+ default "ppc" if ARCH_PPC
+ default "x86" if ARCH_X86
+
menuconfig BAREBOX
select BOOTLOADER
prompt "barebox "
@@ -26,13 +33,6 @@ config BAREBOX_CONFIG
This entry specifies the .config file used to compile
barebox.
-config BAREBOX_ARCH_STRING
- string
- default "arm" if ARCH_ARM
- default "blackfin" if ARCH_BLACKFIN
- default "ppc" if ARCH_PPC
- default "x86" if ARCH_X86
-
config BAREBOX_EXTRA_ENV
prompt "extend the builtin barebox environment"
bool