summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/conf/machine/include
diff options
context:
space:
mode:
Diffstat (limited to 'meta-rcar-gen3/conf/machine/include')
-rw-r--r--meta-rcar-gen3/conf/machine/include/r8a77990.inc3
-rw-r--r--meta-rcar-gen3/conf/machine/include/tune-cortexa53.inc18
2 files changed, 21 insertions, 0 deletions
diff --git a/meta-rcar-gen3/conf/machine/include/r8a77990.inc b/meta-rcar-gen3/conf/machine/include/r8a77990.inc
new file mode 100644
index 0000000..a5fed2a
--- /dev/null
+++ b/meta-rcar-gen3/conf/machine/include/r8a77990.inc
@@ -0,0 +1,3 @@
+SOC_FAMILY =. "rcar-gen3:"
+require conf/machine/include/soc-family.inc
+LINUXLIBCVERSION = "4.14"
diff --git a/meta-rcar-gen3/conf/machine/include/tune-cortexa53.inc b/meta-rcar-gen3/conf/machine/include/tune-cortexa53.inc
new file mode 100644
index 0000000..ebf2c4f
--- /dev/null
+++ b/meta-rcar-gen3/conf/machine/include/tune-cortexa53.inc
@@ -0,0 +1,18 @@
+DEFAULTTUNE ?= "cortexa53"
+require conf/machine/include/arm/arch-armv8.inc
+
+TUNEVALID[cortexa53] = "Enable Cortex-A53 specific processor optimizations"
+TUNECONFLICTS[aarch64] = "armv4 armv5 armv6 armv7 armv7a"
+
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", " -march=armv8-a", "" ,d)}"
+
+MACHINEOVERRIDES =. "${@bb.utils.contains("TUNE_FEATURES", "cortexa53", "cortexa53:", "" ,d)}"
+
+TUNE_CCARGS .= "${@bb.utils.contains("TUNE_FEATURES", "cortexa53", " -mtune=cortex-a53", "", d)}"
+
+# Little Endian base configs
+AVAILTUNES += "cortexa53"
+ARMPKGARCH_tune-cortexa53 = "cortexa53"
+TUNE_FEATURES_tune-cortexa53 = "${TUNE_FEATURES_tune-aarch64} cortexa53"
+PACKAGE_EXTRA_ARCHS_tune-cortexa53 = "${PACKAGE_EXTRA_ARCHS_tune-aarch64} cortexa53"
+BASE_LIB_tune-cortexa53 = "lib64"