diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2010-12-16 10:32:20 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2010-12-16 10:32:20 +0100 |
commit | 48b315fa83a63c1d01b77ffa8b485a322a4559d2 (patch) | |
tree | 4cd74333a9084e4967f85a3bcdabb0fc69194d6b /conf | |
parent | 39fb00c188032075a0a8298e333e6914bd88e53a (diff) | |
download | meta-openembedded-48b315fa83a63c1d01b77ffa8b485a322a4559d2.tar.gz |
move omap3 and cortexa8 includes from beagleboard BSP to meta-openembedded layer
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/machine/include/omap3.inc | 15 | ||||
-rw-r--r-- | conf/machine/include/tune-cortexa8.inc | 17 |
2 files changed, 32 insertions, 0 deletions
diff --git a/conf/machine/include/omap3.inc b/conf/machine/include/omap3.inc new file mode 100644 index 000000000..d33a59987 --- /dev/null +++ b/conf/machine/include/omap3.inc | |||
@@ -0,0 +1,15 @@ | |||
1 | SOC_FAMILY = "omap3" | ||
2 | TARGET_ARCH = "arm" | ||
3 | |||
4 | require conf/machine/include/tune-cortexa8.inc | ||
5 | PREFERRED_PROVIDER_virtual/kernel = "linux-omap" | ||
6 | # Increase this everytime you change something in the kernel | ||
7 | MACHINE_KERNEL_PR = "r92" | ||
8 | |||
9 | KERNEL_IMAGETYPE = "uImage" | ||
10 | |||
11 | UBOOT_ENTRYPOINT = "0x80008000" | ||
12 | UBOOT_LOADADDRESS = "0x80008000" | ||
13 | |||
14 | EXTRA_IMAGEDEPENDS += "u-boot x-load" | ||
15 | |||
diff --git a/conf/machine/include/tune-cortexa8.inc b/conf/machine/include/tune-cortexa8.inc new file mode 100644 index 000000000..2ac0ebfe4 --- /dev/null +++ b/conf/machine/include/tune-cortexa8.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | # Instead of using -mfpu=vfp[2] we can use -mfpu=neon to make use of gcc intrinsics[1] and vectorize loops with -ftree-vectorize[3] | ||
2 | # [1] http://gcc.gnu.org/onlinedocs/gcc/ARM-NEON-Intrinsics.html | ||
3 | # [2] http://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html | ||
4 | # [3] https://support.codesourcery.com/GNUToolchain/kbentry29 | ||
5 | |||
6 | # Can be 'softfp' or 'hardfp' | ||
7 | ARM_FP_MODE ?= "softfp" | ||
8 | |||
9 | ARM_FP_OPT = "${@['-mfloat-abi=softfp', '-mfloat-abi=hard'][bb.data.getVar('ARM_FP_MODE', d, 1) == 'hardfp']}" | ||
10 | ARM_FP_PACKAGESUFFIX = "${@['', '-hardfp'][bb.data.getVar('ARM_FP_MODE', d, 1) == 'hardfp']}" | ||
11 | |||
12 | TARGET_CC_ARCH = "-march=armv7-a -mtune=cortex-a8 -mfpu=neon ${ARM_FP_OPT}" | ||
13 | |||
14 | FEED_ARCH = "armv7a${ARM_FP_PACKAGESUFFIX}" | ||
15 | BASE_PACKAGE_ARCH = "armv7a${ARM_FP_PACKAGESUFFIX}" | ||
16 | |||
17 | PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te armv6 armv7 armv7a${ARM_FP_PACKAGESUFFIX}" | ||