From: Sonic Zhang <sonic.adi@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v6 2/7] arch: Add blackfin CPU choice.
Date: Thu, 18 Apr 2013 18:06:27 +0800 [thread overview]
Message-ID: <1366279592-9055-2-git-send-email-sonic.adi@gmail.com> (raw)
In-Reply-To: <1366279592-9055-1-git-send-email-sonic.adi@gmail.com>
From: Sonic Zhang <sonic.zhang@analog.com>
is patch adds a Target CPU configuration option and uses it to select a -m
option for gcc.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
arch/Config.in.bfin | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 94 insertions(+), 0 deletions(-)
diff --git a/arch/Config.in.bfin b/arch/Config.in.bfin
index 2a7ff54..ac96620 100644
--- a/arch/Config.in.bfin
+++ b/arch/Config.in.bfin
@@ -1,5 +1,99 @@
+choice
+ prompt "Target CPU"
+ depends on BR2_bfin
+ default BR2_bf609
+ help
+ Specify target CPU
+config BR2_bf606
+ bool "bf606"
+config BR2_bf607
+ bool "bf607"
+config BR2_bf608
+ bool "bf608"
+config BR2_bf609
+ bool "bf609"
+config BR2_bf512
+ bool "bf512"
+config BR2_bf514
+ bool "bf514"
+config BR2_bf516
+ bool "bf516"
+config BR2_bf518
+ bool "bf518"
+config BR2_bf522
+ bool "bf522"
+config BR2_bf523
+ bool "bf523"
+config BR2_bf524
+ bool "bf524"
+config BR2_bf525
+ bool "bf525"
+config BR2_bf526
+ bool "bf526"
+config BR2_bf527
+ bool "bf527"
+config BR2_bf531
+ bool "bf531"
+config BR2_bf532
+ bool "bf532"
+config BR2_bf533
+ bool "bf533"
+config BR2_bf534
+ bool "bf534"
+config BR2_bf536
+ bool "bf536"
+config BR2_bf537
+ bool "bf537"
+config BR2_bf538
+ bool "bf538"
+config BR2_bf539
+ bool "bf539"
+config BR2_bf542
+ bool "bf542"
+config BR2_bf544
+ bool "bf544"
+config BR2_bf547
+ bool "bf547"
+config BR2_bf548
+ bool "bf548"
+config BR2_bf549
+ bool "bf549"
+config BR2_bf561
+ bool "bf561"
+endchoice
+
config BR2_ARCH
default "bfin"
config BR2_ENDIAN
default "LITTLE"
+
+config BR2_GCC_TARGET_CPU
+ default bf606 if BR2_bf606
+ default bf607 if BR2_bf607
+ default bf608 if BR2_bf608
+ default bf609 if BR2_bf609
+ default bf512 if BR2_bf512
+ default bf514 if BR2_bf514
+ default bf516 if BR2_bf516
+ default bf518 if BR2_bf518
+ default bf522 if BR2_bf522
+ default bf523 if BR2_bf523
+ default bf524 if BR2_bf524
+ default bf525 if BR2_bf525
+ default bf526 if BR2_bf526
+ default bf527 if BR2_bf527
+ default bf531 if BR2_bf531
+ default bf532 if BR2_bf532
+ default bf533 if BR2_bf533
+ default bf534 if BR2_bf534
+ default bf536 if BR2_bf536
+ default bf537 if BR2_bf537
+ default bf538 if BR2_bf538
+ default bf539 if BR2_bf539
+ default bf542 if BR2_bf542
+ default bf544 if BR2_bf544
+ default bf547 if BR2_bf547
+ default bf548 if BR2_bf548
+ default bf549 if BR2_bf549
+ default bf561 if BR2_bf561
--
1.7.0.4
next prev parent reply other threads:[~2013-04-18 10:06 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-18 10:06 [Buildroot] [PATCH v6 1/7] arch: toolchain: Introduce binary formats BINFMT_* Sonic Zhang
2013-04-18 10:06 ` Sonic Zhang [this message]
2013-04-23 5:53 ` [Buildroot] [PATCH v6 2/7] arch: Add blackfin CPU choice Sonic Zhang
2013-04-25 14:24 ` Thomas Petazzoni
2013-04-18 10:06 ` [Buildroot] [PATCH v6 3/7] arch: toolchain: Introduce target CPU revision Sonic Zhang
2013-04-23 5:53 ` Sonic Zhang
2013-04-25 14:25 ` Thomas Petazzoni
2013-04-18 10:06 ` [Buildroot] [PATCH v6 4/7] arch: toolchain: Introduce binary format FLAT types Sonic Zhang
2013-04-25 14:27 ` Thomas Petazzoni
2013-04-18 10:06 ` [Buildroot] [PATCH v6 5/7] package: Introduce package-specific BINFMT_FLAT options Sonic Zhang
2013-04-23 9:17 ` Sonic Zhang
2013-04-25 14:30 ` Thomas Petazzoni
2013-04-18 10:06 ` [Buildroot] [PATCH v6 6/7] arch: toolchain: Install blackfin FDPIC and FLAT libraries in external toolchain makefile Sonic Zhang
2013-04-26 3:21 ` Sonic Zhang
2013-05-02 7:36 ` Sonic Zhang
2013-05-02 10:01 ` Thomas Petazzoni
2013-05-02 10:11 ` Sonic Zhang
2013-05-03 18:46 ` Thomas Petazzoni
2013-05-06 6:36 ` Sonic Zhang
2013-04-18 10:06 ` [Buildroot] [PATCH v6 7/7] package: Introduce NOMMU symbol Sonic Zhang
2013-04-26 3:22 ` Sonic Zhang
2013-04-23 5:52 ` [Buildroot] [PATCH v6 1/7] arch: toolchain: Introduce binary formats BINFMT_* Sonic Zhang
2013-04-25 14:22 ` Thomas Petazzoni
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=1366279592-9055-2-git-send-email-sonic.adi@gmail.com \
--to=sonic.adi@gmail.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.