aboutsummaryrefslogtreecommitdiff
path: root/meta-aarch64/conf
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-03-13 14:48:36 +0100
committerMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2013-03-13 14:48:36 +0100
commit6b59c31786601954bea74dab202bd7c11c145c73 (patch)
treee12b7456e39c21e6e0c63d931cf2b6dd8f465c24 /meta-aarch64/conf
parent1a6882cd52df06a592e5aba7d2347f1d5f71e727 (diff)
downloadmeta-linaro-6b59c31786601954bea74dab202bd7c11c145c73.tar.gz
move to meta-aarch64/ as preparation to merge into meta-linaro repo
Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
Diffstat (limited to 'meta-aarch64/conf')
-rw-r--r--meta-aarch64/conf/layer.conf14
-rw-r--r--meta-aarch64/conf/machine/genericarmv8.conf37
-rw-r--r--meta-aarch64/conf/machine/include/arm64/arch-armv8.inc22
3 files changed, 73 insertions, 0 deletions
diff --git a/meta-aarch64/conf/layer.conf b/meta-aarch64/conf/layer.conf
new file mode 100644
index 00000000..e3bbaaec
--- /dev/null
+++ b/meta-aarch64/conf/layer.conf
@@ -0,0 +1,14 @@
+BBPATH .= ":${LAYERDIR}"
+BBFILES += "\
+ ${LAYERDIR}/recipes*/*/*.bb \
+ ${LAYERDIR}/recipes*/*/*.bbappend \
+ "
+
+BBFILE_COLLECTIONS += "aarch64"
+BBFILE_PATTERN_aarch64 := "^${LAYERDIR}/"
+BBFILE_PRIORITY_aarch64 = "20"
+
+# do not error out on bbappends for missing recipes (mysql5)
+BB_DANGLINGAPPENDS_WARNONLY = "true"
+
+LAYERDEPENDS_aarch64 = "linaro"
diff --git a/meta-aarch64/conf/machine/genericarmv8.conf b/meta-aarch64/conf/machine/genericarmv8.conf
new file mode 100644
index 00000000..6d84e0d8
--- /dev/null
+++ b/meta-aarch64/conf/machine/genericarmv8.conf
@@ -0,0 +1,37 @@
+#@TYPE: Machine
+#@NAME: generic armv8 machine
+#@DESCRIPTION: generic machine to be used by linaro-media-create
+
+require conf/machine/include/arm64/arch-armv8.inc
+
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+
+XSERVER ?= "xserver-xorg \
+ mesa-dri-driver-swrast \
+ xf86-input-evdev \
+ xf86-input-mouse \
+ xf86-video-fbdev \
+ xf86-input-keyboard"
+
+MACHINE_FEATURES = ""
+
+# Don't include kernels in standard images
+RDEPENDS_kernel-base = ""
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro"
+
+KERNEL_IMAGETYPE = "Image"
+
+# We have to disable SERIAL_CONSOLE due to auto-serial-console
+#SERIAL_CONSOLE = "115200 ttyAMA0"
+
+# Force auto-serial-console to be used by all image types
+# Ideally this would be part of core oe or as a bbclassappend,
+# but as we don't have an easy way to append a class, defining
+# it here
+EXTRA_IMAGE_FEATURES += "autoserial"
+PACKAGE_GROUP_autoserial = "auto-serial-console"
+
+# we do not want to have getty running on tty1 as we run
+# auto-serial-console there
+USE_VT = "0"
diff --git a/meta-aarch64/conf/machine/include/arm64/arch-armv8.inc b/meta-aarch64/conf/machine/include/arm64/arch-armv8.inc
new file mode 100644
index 00000000..75aee422
--- /dev/null
+++ b/meta-aarch64/conf/machine/include/arm64/arch-armv8.inc
@@ -0,0 +1,22 @@
+DEFAULTTUNE ?= "aarch64"
+
+ARMPKGARCH ?= "aarch64"
+
+TUNEVALID[aarch64] = "Enable instructions for aarch64"
+TUNECONFLICTS[aarch64] = ""
+MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", ":aarch64", "" ,d)}"
+
+# Little Endian base configs
+AVAILTUNES += "aarch64"
+TUNE_FEATURES_tune-aarch64 ?= "aarch64"
+
+TUNE_ARCH = "aarch64"
+TUNE_PKGARCH = "aarch64"
+
+PACKAGE_EXTRA_ARCHS += "aarch64"
+
+# toolchain bits which were in conf/site.conf
+
+GCCVERSION ?= "linaro-4.7"
+SDKGCCVERSION ?= "linaro-4.7"
+BINUVERSION ?= "2.23.51%"