[Buildroot] [PATCH 2/2] arch/Config.in: Allow ARM to select BR2_BINFMT_FLAT
Thomas De Schampheleire
patrickdepinguin at gmail.com
Fri Sep 6 01:08:10 UTC 2013
Op 5-sep.-2013 23:48 schreef "Thomas Petazzoni" <
thomas.petazzoni at free-electrons.com> het volgende:
> But I'm wondering if we shouldn't go further than that, and make
> BR2_BINFMT_FLAT available only for non-MMU ARMs. Something like:
>
> prompt "Target Binary Format"
> depends on BR2_arm7tmdi || BR2_arm_cortex_m3 || BR2_arm_cortex_m4
|| BR2_m68k || BR2_bfin
> default BR2_BINFMT_FLAT if BR2_arm7tmdi || BR2_arm_cortex_m3 ||
BR2_arm_cortex_m4 || BR2_m68k
> default BR2_BINFMT_FDPIC if BR2_bfin
>
> or something like this. This way, users of MMU-capable ARM variants
> wouldn't be confused by the availability of FLAT and ELF as binary
> formats. Of course, BR2_BINFMT_ELF should gain some !BR2_arm7tmdi
> && !BR2_arm_cortex_m3 && !BR2_arm_cortex_m4 dependencies, or maybe even
> a !BR2_USE_MMU dependency. I think there's quite some room for
> improvement around the definition of which CPU has an MMU or not, and
> which architectures support which binary formats.
Don't we/shouldn't we have something like ARCH_HAS_MMU and/or
ARCH_SUPPORTS_FLAT_BINARY?
Best regards,
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130906/22703a2b/attachment-0002.html>
More information about the buildroot
mailing list