[meta-freescale] [meta-fsl-arm][PATCH v2] imx-base.inc mxs-base.inc: Add imx MACHINEOVERRIDES
Ann Thornton
ra43240 at freescale.com
Mon Jul 6 12:04:16 PDT 2015
Soon non-imx machines will be added to the builds. We need to be able to
specify imx machines to distinguish between them in recipes. This change
allows _imx to be used to limit actions to i.MX machines.
Signed-off-by: Ann Thornton <ra43240 at freescale.com>
---
conf/machine/include/imx-base.inc | 3 +++
conf/machine/include/mxs-base.inc | 3 +++
2 files changed, 6 insertions(+)
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 51625eb..32c06c6 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -117,3 +117,6 @@ SERIAL_CONSOLE = "115200 ttymxc0"
KERNEL_IMAGETYPE = "zImage"
MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
+
+# Add the ability to specify _imx machines
+MACHINEOVERRIDES =. "imx:"
diff --git a/conf/machine/include/mxs-base.inc b/conf/machine/include/mxs-base.inc
index a6c34e1..b981155 100644
--- a/conf/machine/include/mxs-base.inc
+++ b/conf/machine/include/mxs-base.inc
@@ -32,3 +32,6 @@ MACHINE_EXTRA_RRECOMMENDS = "kernel-modules"
SERIAL_CONSOLE = "115200 ttyAMA0"
KERNEL_IMAGETYPE = "zImage"
+
+# Add the ability to specify _imx machines
+MACHINEOVERRIDES =. "imx:"
--
1.7.9.5
More information about the meta-freescale
mailing list