aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-03-11 09:43:11 -0800
committerJuro Bystricky <juro.bystricky@intel.com>2017-03-17 09:35:22 -0700
commita3331c52ff4492bd9255196677bd84a550586d8a (patch)
tree9e22cd54f4aedb470441768868e6fb8887a6d2af
parenteace735c7f9590de9be9ecee8fcd8ba59628f72d (diff)
downloadmeta-zephyr-a3331c52ff4492bd9255196677bd84a550586d8a.tar.gz
meta-zephyr-a3331c52ff4492bd9255196677bd84a550586d8a.tar.bz2
meta-zephyr-a3331c52ff4492bd9255196677bd84a550586d8a.zip
MACHINE*: specify ARCH for each MACHINE
Some Makefiles may need to have ARCH set. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com>
-rw-r--r--conf/machine/arduino-101-ble.conf2
-rw-r--r--conf/machine/arduino-101-sss.conf2
-rw-r--r--conf/machine/arduino-101.conf3
-rw-r--r--conf/machine/qemu-cortex-m3.conf1
-rw-r--r--conf/machine/qemu-nios2.conf2
-rw-r--r--conf/machine/qemu-x86.conf2
6 files changed, 12 insertions, 0 deletions
diff --git a/conf/machine/arduino-101-ble.conf b/conf/machine/arduino-101-ble.conf
index f80c7fb..55c3857 100644
--- a/conf/machine/arduino-101-ble.conf
+++ b/conf/machine/arduino-101-ble.conf
@@ -8,3 +8,5 @@ require conf/machine/include/tune-cortexm0.inc
TARGET_LINK_HASH_STYLE = ""
ZEPHYR_INHERIT_CLASSES += "zephyr-flash-dfu"
+
+ARCH_arduino-101-ble = "arm"
diff --git a/conf/machine/arduino-101-sss.conf b/conf/machine/arduino-101-sss.conf
index 14b9861..a27f672 100644
--- a/conf/machine/arduino-101-sss.conf
+++ b/conf/machine/arduino-101-sss.conf
@@ -17,3 +17,5 @@ PREFERRED_VERSION_binutils-cross-canadian-${TRANSLATED_TARGET_ARCH} = "2.26+gita
TARGET_LINK_HASH_STYLE = ""
ZEPHYR_INHERIT_CLASSES += "zephyr-flash-dfu"
+
+ARCH_arduino-101-sss = "arc"
diff --git a/conf/machine/arduino-101.conf b/conf/machine/arduino-101.conf
index b38c320..0773903 100644
--- a/conf/machine/arduino-101.conf
+++ b/conf/machine/arduino-101.conf
@@ -9,3 +9,6 @@ TUNE_PKGARCH_arduino-101 = "iamcu"
TARGET_LINK_HASH_STYLE = ""
ZEPHYR_INHERIT_CLASSES += "zephyr-flash-dfu"
+
+ARCH_arduino-101 = "x86"
+
diff --git a/conf/machine/qemu-cortex-m3.conf b/conf/machine/qemu-cortex-m3.conf
index 6a6d45e..dd1ce56 100644
--- a/conf/machine/qemu-cortex-m3.conf
+++ b/conf/machine/qemu-cortex-m3.conf
@@ -13,3 +13,4 @@ QB_MACHINE = "-machine lm3s6965evb"
QB_OPT_APPEND = "-nographic -vga none"
QB_CPU = "-cpu cortex-m3"
+ARCH_qemu-cortex-m3 = "arm"
diff --git a/conf/machine/qemu-nios2.conf b/conf/machine/qemu-nios2.conf
index abc9574..ab8b366 100644
--- a/conf/machine/qemu-nios2.conf
+++ b/conf/machine/qemu-nios2.conf
@@ -12,3 +12,5 @@ QB_SYSTEM_NAME = "qemu-system-nios2"
QB_MACHINE = "-machine altera_10m50_zephyr"
QB_OPT_APPEND = "-nographic"
QB_CPU = "-cpu nios2"
+
+ARCH_qemu-nios2 = "nios2"
diff --git a/conf/machine/qemu-x86.conf b/conf/machine/qemu-x86.conf
index 9a46809..8bf1e35 100644
--- a/conf/machine/qemu-x86.conf
+++ b/conf/machine/qemu-x86.conf
@@ -13,3 +13,5 @@ QB_MACHINE = "-machine pc-0.14"
QB_OPT_APPEND = "-nographic -display none -clock dynticks -no-acpi -balloon none"
QB_CPU_x86 = "-cpu qemu32"
QB_CPU_KVM_x86 = "-cpu kvm32"
+
+ARCH_qemu-x86 = "x86"