[Buildroot] [noMMU] How to generate FLAT executable for busybox?
axel.lin at ingics.com
Wed Jul 31 13:05:56 UTC 2013
2013/7/29 Axel Lin <axel.lin at ingics.com>:
> 2013/7/29 Axel Lin <axel.lin at ingics.com>:
>> I have BR2_BINFMT_FLAT=y in my setting.
>> However, the build system still generates ELF executable for busybox.
>> $ file output/target/bin/busybox
>> output/target/bin/busybox: setuid ELF 32-bit LSB executable, ARM, version 1 (SYSV), statically linked, stripped
Just try to figure out if any platform can build FLAT executable.
So I just tested build for blackfin (BR2_bfin).
( I don't have any customization for this blackfin build test,
only run make menuconfig and select blackfin. Test with current git tree. )
I thought I should have a FLAT executable, however it produces ELF executable.
$ file output/target/bin/busybox
output/target/bin/busybox: setuid ELF 32-bit LSB executable, Analog
Devices Blackfin, version 1 (SYSV), statically linked, stripped
BTW, I found BR2_ELF2FLT is invisible for BR2_bfin.
bool "Enable elf2flt support?"
depends on BR2_arm || BR2_sh || BR2_sparc
Does this mean blackfin does not need elf2flt tool?
More information about the buildroot