aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-07-19 15:12:22 +0400
committerDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2009-07-19 15:12:22 +0400
commit0070c198d84c8511015fffbf7d9da771d1b907f5 (patch)
tree46dabb151befe2a9cfcede2fddba430a0e1763dd
parentb8661f33991b8ed4af8918231f1a2bdeab910c2f (diff)
downloadopenembedded-0070c198d84c8511015fffbf7d9da771d1b907f5.tar.gz
openembedded-0070c198d84c8511015fffbf7d9da771d1b907f5.tar.bz2
openembedded-0070c198d84c8511015fffbf7d9da771d1b907f5.zip
bfin: provide tune-bfin.inc file
Separate TARGET_ARCH, FEED_ARCH, etc. settings to tune-bfin.inc file. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-rw-r--r--conf/distro/include/angstrom.inc3
-rw-r--r--conf/machine/adsp-bf537-stamp.conf3
-rw-r--r--conf/machine/adzs-bf538f-ezlite.conf2
-rw-r--r--conf/machine/adzs-bf548-ezlite.conf2
-rw-r--r--conf/machine/include/tune-bfin.inc6
5 files changed, 9 insertions, 7 deletions
diff --git a/conf/distro/include/angstrom.inc b/conf/distro/include/angstrom.inc
index 669c8ada3c..e10acdbcf7 100644
--- a/conf/distro/include/angstrom.inc
+++ b/conf/distro/include/angstrom.inc
@@ -136,9 +136,6 @@ TARGET_CC_ARCH_pn-cairo_armv5te = "-march=armv4t"
FEED_ARCH ?= "${BASE_PACKAGE_ARCH}"
-#blackfin machines
-FEED_ARCH_bfin = "blackfin"
-
#Tweak packaging for strongarm machines since they can't use EABI
PACKAGE_EXTRA_ARCHS_collie = "arm-oabi"
diff --git a/conf/machine/adsp-bf537-stamp.conf b/conf/machine/adsp-bf537-stamp.conf
index 2bbbf48666..ca2b4b131e 100644
--- a/conf/machine/adsp-bf537-stamp.conf
+++ b/conf/machine/adsp-bf537-stamp.conf
@@ -2,8 +2,7 @@
#@Name: Analog Devices blackfin platfrom
#@DESCRIPTION: ADSP-BF537 STAMP Board
-
-TARGET_ARCH = "bfin"
+require conf/machine/include/tune-bfin.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-bfin"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
diff --git a/conf/machine/adzs-bf538f-ezlite.conf b/conf/machine/adzs-bf538f-ezlite.conf
index 9548b22b90..cc1753840a 100644
--- a/conf/machine/adzs-bf538f-ezlite.conf
+++ b/conf/machine/adzs-bf538f-ezlite.conf
@@ -2,7 +2,7 @@
#@Name: Analog Devices blackfin platfrom
#@DESCRIPTION: ADSP-BF538(F) EZ-KIT Board (http://www.analog.com/en/epHSProd/0,,BF538-HARDWARE,00.html)
-TARGET_ARCH = "bfin"
+require conf/machine/include/tune-bfin.inc
PREFERRED_PROVIDER_virtual/kernel = "linux-bfin"
PREFERRED_PROVIDER_xserver = "xserver-kdrive"
diff --git a/conf/machine/adzs-bf548-ezlite.conf b/conf/machine/adzs-bf548-ezlite.conf
index 15074406ce..2fad481fb3 100644
--- a/conf/machine/adzs-bf548-ezlite.conf
+++ b/conf/machine/adzs-bf548-ezlite.conf
@@ -2,7 +2,7 @@
#@Name: Analog Devices blackfin platfrom
#@DESCRIPTION: ADSP-BF548 EZ-LITE KIT Board (http://www.analog.com/en/epHSProd/0,,BF548-HARDWARE,00.html)
-TARGET_ARCH = "bfin"
+require conf/machine/include/tune-bfin.inc
KERNEL_IMAGETYPE = "vmlinux"
diff --git a/conf/machine/include/tune-bfin.inc b/conf/machine/include/tune-bfin.inc
new file mode 100644
index 0000000000..3025f775db
--- /dev/null
+++ b/conf/machine/include/tune-bfin.inc
@@ -0,0 +1,6 @@
+# Blackfin-specific configuration
+
+TARGET_ARCH = "bfin"
+TARGET_CC_ARCH = "-mfdpic"
+FEED_ARCH = "blackfin"
+