From: Axel Lin <axel.lin@ingics.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] arch/Config.in: Allow ARM to select BR2_BINFMT_FLAT
Date: Wed, 04 Sep 2013 10:44:27 +0800 [thread overview]
Message-ID: <1378262667.32360.6.camel@phoenix> (raw)
In-Reply-To: <1378262598.32360.5.camel@phoenix>
Some noMMU ARM platforms need to select BR2_BINFMT_FLAT.
Most ARM platforms have MMU, thus set default to BR2_BINFMT_ELF for ARM.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
arch/Config.in | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/arch/Config.in b/arch/Config.in
index 14899ca..31c23ec 100644
--- a/arch/Config.in
+++ b/arch/Config.in
@@ -223,8 +223,9 @@ config BR2_GCC_TARGET_MODE
# Set up target binary format
choice
prompt "Target Binary Format"
- depends on BR2_bfin || BR2_m68k
- default BR2_BINFMT_FDPIC
+ depends on BR2_arm || BR2_bfin || BR2_m68k
+ default BR2_BINFMT_ELF if BR2_arm
+ default BR2_BINFMT_FDPIC if (BR2_bfin || BR2_m68k)
config BR2_BINFMT_ELF
bool "ELF"
@@ -245,7 +246,7 @@ config BR2_BINFMT_FDPIC
config BR2_BINFMT_FLAT
bool "FLAT"
- depends on BR2_bfin || BR2_m68k
+ depends on BR2_arm || BR2_bfin || BR2_m68k
select BR2_PREFER_STATIC_LIB
help
FLAT binary is a relatively simple and lightweight executable format
--
1.8.1.2
next prev parent reply other threads:[~2013-09-04 2:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-04 2:43 [Buildroot] [PATCH 1/2] package/Makefile.in: Fix dependency for selecting uclinux as TARGET_OS Axel Lin
2013-09-04 2:44 ` Axel Lin [this message]
2013-09-05 21:48 ` [Buildroot] [PATCH 2/2] arch/Config.in: Allow ARM to select BR2_BINFMT_FLAT Thomas Petazzoni
2013-09-06 1:08 ` Thomas De Schampheleire
2013-09-06 6:25 ` Thomas Petazzoni
2013-09-06 10:08 ` Gustavo Zacarias
2013-09-06 10:12 ` Thomas Petazzoni
2013-09-05 21:44 ` [Buildroot] [PATCH 1/2] package/Makefile.in: Fix dependency for selecting uclinux as TARGET_OS Thomas Petazzoni
2013-09-06 2:21 ` Axel Lin
2013-09-06 6:26 ` Thomas Petazzoni
2013-09-06 7:14 ` Axel Lin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1378262667.32360.6.camel@phoenix \
--to=axel.lin@ingics.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.