diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/conf | |
parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
download | meta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz |
move layer into meta-oe in preparation for future splits
As per TSC decision
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/conf')
-rw-r--r-- | meta-oe/conf/layer.conf | 9 | ||||
-rw-r--r-- | meta-oe/conf/machine/include/davinci.inc | 25 | ||||
-rw-r--r-- | meta-oe/conf/machine/include/omap3.inc | 15 | ||||
-rw-r--r-- | meta-oe/conf/machine/include/omapl138.inc | 1 | ||||
-rw-r--r-- | meta-oe/conf/machine/include/tune-arm926ejs.inc | 7 | ||||
-rw-r--r-- | meta-oe/conf/machine/include/tune-cortexa8.inc | 17 |
6 files changed, 74 insertions, 0 deletions
diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf new file mode 100644 index 000000000..9fa60c1c4 --- /dev/null +++ b/meta-oe/conf/layer.conf | |||
@@ -0,0 +1,9 @@ | |||
1 | # We have a conf and classes directory, prepend to BBPATH to prefer our versions | ||
2 | BBPATH := "${LAYERDIR}:${BBPATH}" | ||
3 | |||
4 | # We have a recipes directory, add to BBFILES | ||
5 | BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
6 | |||
7 | BBFILE_COLLECTIONS += "openembedded-layer" | ||
8 | BBFILE_PATTERN_openembedded-layer := "^${LAYERDIR}/" | ||
9 | BBFILE_PRIORITY_openembedded-layer = "6" | ||
diff --git a/meta-oe/conf/machine/include/davinci.inc b/meta-oe/conf/machine/include/davinci.inc new file mode 100644 index 000000000..3e48097eb --- /dev/null +++ b/meta-oe/conf/machine/include/davinci.inc | |||
@@ -0,0 +1,25 @@ | |||
1 | require conf/machine/include/tune-arm926ejs.inc | ||
2 | |||
3 | # Increase this everytime you change something in the kernel | ||
4 | MACHINE_KERNEL_PR = "r50" | ||
5 | |||
6 | TARGET_ARCH = "arm" | ||
7 | |||
8 | KERNEL_IMAGETYPE = "uImage" | ||
9 | |||
10 | PREFERRED_PROVIDER_virtual/kernel = "linux-davinci" | ||
11 | |||
12 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot" | ||
13 | UBOOT_MACHINE = "davinci_dvevm_config" | ||
14 | |||
15 | UBOOT_ENTRYPOINT = "0x80008000" | ||
16 | UBOOT_LOADADDRESS = "0x80008000" | ||
17 | |||
18 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
19 | |||
20 | SERIAL_CONSOLE ?= "115200 ttyS0" | ||
21 | EXTRA_IMAGECMD_jffs2 = "--pad --little-endian --eraseblock=0x20000 -n" | ||
22 | |||
23 | #ROOT_FLASH_SIZE = "29" | ||
24 | |||
25 | MACHINE_FEATURES = "kernel26 serial ethernet usbhost usbgadget mmc alsa" | ||
diff --git a/meta-oe/conf/machine/include/omap3.inc b/meta-oe/conf/machine/include/omap3.inc new file mode 100644 index 000000000..15e34c650 --- /dev/null +++ b/meta-oe/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 = "r99" | ||
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/meta-oe/conf/machine/include/omapl138.inc b/meta-oe/conf/machine/include/omapl138.inc new file mode 100644 index 000000000..4c222753d --- /dev/null +++ b/meta-oe/conf/machine/include/omapl138.inc | |||
@@ -0,0 +1 @@ | |||
SOC_FAMILY = "omapl138" | |||
diff --git a/meta-oe/conf/machine/include/tune-arm926ejs.inc b/meta-oe/conf/machine/include/tune-arm926ejs.inc new file mode 100644 index 000000000..f41e46099 --- /dev/null +++ b/meta-oe/conf/machine/include/tune-arm926ejs.inc | |||
@@ -0,0 +1,7 @@ | |||
1 | FEED_ARCH = "armv5te" | ||
2 | PACKAGE_EXTRA_ARCHS += "armv4 armv4t armv5te" | ||
3 | # For gcc 3.x you need: | ||
4 | #TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ejs" | ||
5 | # For gcc 4.x you need: | ||
6 | TARGET_CC_ARCH = "-march=armv5te -mtune=arm926ej-s" | ||
7 | BASE_PACKAGE_ARCH = "armv5te" | ||
diff --git a/meta-oe/conf/machine/include/tune-cortexa8.inc b/meta-oe/conf/machine/include/tune-cortexa8.inc new file mode 100644 index 000000000..2ac0ebfe4 --- /dev/null +++ b/meta-oe/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}" | ||