summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-03-16 19:20:52 +0000
committerKoen Kooi <koen@openembedded.org>2008-03-16 19:20:52 +0000
commit30fc0f8457316e9ecbea2b0b4144d5bd577c418d (patch)
tree8f949637f5ae66c8e006b6c6661daa389a6895c6 /conf
parentc6403c11bd57afbbb62f9e31c1f597d86c0dacf5 (diff)
tune files: add files for generic armv7 and cortex series
* http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html * http://en.wikipedia.org/wiki/ARM_architecture
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/tune-armv7.inc5
-rw-r--r--conf/machine/include/tune-cortexa8.inc4
-rw-r--r--conf/machine/include/tune-cortexm1.inc3
-rw-r--r--conf/machine/include/tune-cortexm3.inc4
-rw-r--r--conf/machine/include/tune-cortexr4.inc4
5 files changed, 20 insertions, 0 deletions
diff --git a/conf/machine/include/tune-armv7.inc b/conf/machine/include/tune-armv7.inc
new file mode 100644
index 0000000000..61b4685f10
--- /dev/null
+++ b/conf/machine/include/tune-armv7.inc
@@ -0,0 +1,5 @@
+# valid options for -march: `armv7', `armv7-a', `armv7-r', `armv7-m'
+# valid option for -mtune: `cortex-a8', `cortex-r4', `cortex-m3', `cortex-m1'
+TARGET_CC_ARCH = "-march=armv7 -mfpu=vfp -mfloat-abi=softfp"
+FEED_ARCH = "armv7"
+PACKAGE_ARCH = "armv7"
diff --git a/conf/machine/include/tune-cortexa8.inc b/conf/machine/include/tune-cortexa8.inc
new file mode 100644
index 0000000000..2da31ecd35
--- /dev/null
+++ b/conf/machine/include/tune-cortexa8.inc
@@ -0,0 +1,4 @@
+# valid options for -march: `armv7', `armv7-a'
+TARGET_CC_ARCH = "-march=armv7 -mtune=cortex-a8 -mfpu=vfp -mfloat-abi=softfp"
+FEED_ARCH = "armv7"
+PACKAGE_ARCH = "armv7"
diff --git a/conf/machine/include/tune-cortexm1.inc b/conf/machine/include/tune-cortexm1.inc
new file mode 100644
index 0000000000..a0d18b69c6
--- /dev/null
+++ b/conf/machine/include/tune-cortexm1.inc
@@ -0,0 +1,3 @@
+TARGET_CC_ARCH = "-march=armv7 -mtune=cortex-m1 -mfpu=vfp -mfloat-abi=softfp"
+FEED_ARCH = "armv6"
+PACKAGE_ARCH = "armv6"
diff --git a/conf/machine/include/tune-cortexm3.inc b/conf/machine/include/tune-cortexm3.inc
new file mode 100644
index 0000000000..72ec53d7c0
--- /dev/null
+++ b/conf/machine/include/tune-cortexm3.inc
@@ -0,0 +1,4 @@
+# valid options for -march: `armv7', `armv7-m'
+TARGET_CC_ARCH = "-march=armv7 -mtune=cortex-m3 -mfpu=vfp -mfloat-abi=softfp"
+FEED_ARCH = "armv7"
+PACKAGE_ARCH = "armv7"
diff --git a/conf/machine/include/tune-cortexr4.inc b/conf/machine/include/tune-cortexr4.inc
new file mode 100644
index 0000000000..5d9a30f629
--- /dev/null
+++ b/conf/machine/include/tune-cortexr4.inc
@@ -0,0 +1,4 @@
+# valid options for -march: `armv7', `armv7-r'
+TARGET_CC_ARCH = "-march=armv7 -mtune=cortex-r4 -mfpu=vfp -mfloat-abi=softfp"
+FEED_ARCH = "armv7"
+PACKAGE_ARCH = "armv7"