From 49c5a210bf69b590d903e84f53db11c63663d43d Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Thu, 30 Aug 2007 19:49:21 +0000 Subject: For those architectures that support both endianness, some default to big endian, others default to little endian. Make this possible in the target selection menu. diff --git a/config/target.in b/config/target.in index 38d3360..2b849f5 100644 --- a/config/target.in +++ b/config/target.in @@ -20,11 +20,13 @@ config ARCH_ARM bool prompt "arm" select ARCH_SUPPORTS_BOTH_ENDIAN + select ARCH_DEFAULT_BE config ARCH_MIPS bool prompt "mips" select ARCH_SUPPORTS_BOTH_ENDIAN + select ARCH_DEFAULT_LE config ARCH_x86 bool @@ -40,10 +42,20 @@ config ARCH_SUPPORTS_BOTH_ENDIAN bool default n +config ARCH_DEFAULT_BE + bool + default n + +config ARCH_DEFAULT_LE + bool + default n + choice bool prompt "Endianness:" depends on ARCH_SUPPORTS_BOTH_ENDIAN + default ARCH_BE if ARCH_DEFAULT_BE + default ARCH_LE if ARCH_DEFAULT_LE config ARCH_BE bool -- cgit v0.10.2-6-g49f6