summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaveen Saini <naveen.kumar.saini@intel.com>2021-05-11 18:10:33 +0800
committerNaveen Saini <naveen.kumar.saini@intel.com>2021-06-01 11:36:09 +0800
commit9ea1443bae30302f04c0e16dff1e3725f5eee3ee (patch)
tree91c3b76267bf0ae66dbe63f464bdb76a6a2ccd2f
parentb8cd751b31e4fbe5adfd00956ba755234161b2eb (diff)
downloadmeta-zephyr-9ea1443bae30302f04c0e16dff1e3725f5eee3ee.tar.gz
meta-zephyr-9ea1443bae30302f04c0e16dff1e3725f5eee3ee.tar.bz2
meta-zephyr-9ea1443bae30302f04c0e16dff1e3725f5eee3ee.zip
intel-x86-32.conf: add common MACHINE for x86 (32-bit) BOARDS
User need to specify board value to ZEPHYR_BOARD in local.conf ZEPHYR_BOARD = "minnowboard" By default it set to MinnowBoard Max 'minnowboard' Currently 32-bit supported boards: * up_squared_32 * minnowboard Ref: https://docs.zephyrproject.org/latest/boards/x86/index.html Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
-rw-r--r--conf/machine/include/tune-core2-common.inc6
-rw-r--r--conf/machine/intel-x86-32.conf12
2 files changed, 18 insertions, 0 deletions
diff --git a/conf/machine/include/tune-core2-common.inc b/conf/machine/include/tune-core2-common.inc
new file mode 100644
index 0000000..012f078
--- /dev/null
+++ b/conf/machine/include/tune-core2-common.inc
@@ -0,0 +1,6 @@
+DEFAULTTUNE ?= "core2-32"
+require conf/machine/include/tune-core2.inc
+require conf/machine/include/x86-base.inc
+
+# Add x86 to MACHINEOVERRIDES
+MACHINEOVERRIDES =. "x86:"
diff --git a/conf/machine/intel-x86-32.conf b/conf/machine/intel-x86-32.conf
new file mode 100644
index 0000000..06f6da5
--- /dev/null
+++ b/conf/machine/intel-x86-32.conf
@@ -0,0 +1,12 @@
+#@TYPE: Machine
+#@NAME: intel-x86-32
+#@DESCRIPTION: common MACHINE for 32-bit x86 boards. User must set ${ZEPHYR_BOARD}. By default is set to 'minnowboard' board.
+
+require conf/machine/include/tune-core2-common.inc
+
+ARCH_intel-x86-32 = "x86"
+
+# Supported Boards:
+# ZEPHYR_BOARD ?= "minnowboard"
+# ZEPHYR_BOARD ?= "up_squared_32"
+ZEPHYR_BOARD ?= "minnowboard"