arch/Config.in.xtensa: provide BR2_ENDIAN symbol
PATCH 1/1 arch/Config.in.xtensa: provide BR2_ENDIAN symbol
Signed-off-by Max Filippov <[email protected]>
--- arch/Config.in.xtensa | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
arch/Config.in.xtensa +14 -0
@@ -33,6 +33,20 @@ config BR2_XTENSA_OVERLAY_DIR configurations. They are provided by the processor vendor or directly from Tensilica. +choice + prompt "Target Architecture Endianness" + depends on BR2_XTENSA_CUSTOM + default BR2_XTENSA_LITTLE_ENDIAN +config BR2_XTENSA_LITTLE_ENDIAN + bool "Little endian" +config BR2_XTENSA_BIG_ENDIAN + bool "Big endian" +endchoice + +config BR2_ENDIAN + default "LITTLE" if BR2_XTENSA_LITTLE_ENDIAN + default "BIG" if BR2_xtensa_fsf || BR2_XTENSA_BIG_ENDIAN + config BR2_ARCH default "xtensa" if BR2_xtensa
Signature · 1 line
1.8.1.4
PATCH 1/1 arch/Config.in.xtensa: provide BR2_ENDIAN symbol
Dear Max Filippov,
Quoted 4 lines · Max Filippov
Signed-off-by Max Filippov <[email protected]>--- arch/Config.in.xtensa | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Thanks for coming up so quickly with a patch for this!
I think it's important to mention that this is fixing an autobuilder failure, and put the pointer to the corresponding failure.
arch/Config.in.xtensa config BR2_XTENSA_OVERLAY_DIR · line 44
Quoted 9 lines
arch/Config.in.xtensa +9
-0+choice + prompt "Target Architecture Endianness" + depends on BR2_XTENSA_CUSTOM + default BR2_XTENSA_LITTLE_ENDIAN +config BR2_XTENSA_LITTLE_ENDIAN + bool "Little endian" +config BR2_XTENSA_BIG_ENDIAN + bool "Big endian" +endchoice
A little bit of spacing between options would be good I believe.
Other than that, looks good to me.
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com