summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-05 12:36:19 +0000
committerflorian <florian@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-04-05 12:36:19 +0000
commitec3eb8fd19347eda580a2be599be36e454987ac2 (patch)
treefaa476e0739ea06fe71e44e6b1150ca1bfc5fa58 /target
parent6e93fd24bd62f3cc6a2019a5c48a6eaecf32912b (diff)
buildroot: factor knowledge of a 64bits architecture
Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36204 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r--target/Config.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/target/Config.in b/target/Config.in
index 79a91b1afb..8ff89ff8a9 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -70,6 +70,9 @@ config HAS_MIPS16
depends (mips || mipsel || mips64 || mips64el)
bool
+config ARCH_64BIT
+ bool
+
# Architecture selection
config arm
@@ -104,9 +107,11 @@ config mipsel
config mips64
select BIG_ENDIAN
+ select ARCH_64BIT
bool
config mips64el
+ select ARCH_64BIT
bool
config powerpc
@@ -115,6 +120,7 @@ config powerpc
config powerpc64
select BIG_ENDIAN
+ select ARCH_64BIT
bool
config sh3
@@ -136,6 +142,7 @@ config sparc
bool
config x86_64
+ select ARCH_64BIT
bool
config ARCH