summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/target.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/target.in b/config/target.in
index b94db3c..aa79896 100644
--- a/config/target.in
+++ b/config/target.in
@@ -91,6 +91,12 @@ config ARCH_LE
endchoice
+config ARCH_ENDIAN
+ string
+ depends on ARCH_SUPPORTS_BOTH_ENDIAN
+ default "big" if ARCH_BE
+ default "little" if ARCH_LE
+
#--------------------------------------
config ARCH_SUPPORTS_32
bool