From 2233924ee6fd95b115f865bba52ed0badf243b20 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 1 Sep 2016 11:49:34 -0700 Subject: ref-manual: Updated the MACHINEOVERRIDES variable description Fixes [YOCTO #10175] Provided a more detailed description of this variable. (From yocto-docs rev: 95a80313dfb276425020a61d199b75d259b47ff1) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 47 +++++++++++++++++------------- 1 file changed, 26 insertions(+), 21 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 64fd94c9a2..7dafb313b5 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -7808,36 +7808,41 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" MACHINEOVERRIDES - MACHINEOVERRIDES[doc] = "Lists overrides specific to the current machine. By default, this list includes the value of MACHINE." + MACHINEOVERRIDES[doc] = "A colon-separated list of overrides that apply to the current machine." - Lists overrides specific to the current machine. - By default, this list includes the value - of MACHINE. - You can extend the list to apply variable overrides for - classes of machines. - For example, all QEMU emulated machines (e.g. qemuarm, - qemux86, and so forth) include a common file named - meta/conf/machine/include/qemu.inc - that prepends MACHINEOVERRIDES with - the following variable override: - - MACHINEOVERRIDES =. "qemuall:" - + A colon-separated list of overrides that apply to the + current machine. + By default, this list includes the value of + MACHINE. - Applying an override like qemuall - affects all QEMU emulated machines elsewhere. - Here is an example from the - connman-conf recipe: + You can extend MACHINEOVERRIDES + to add extra overrides that should apply to a machine. + For example, all machines emulated in QEMU (e.g. + qemuarm, qemux86, + and so forth) include a file named + meta/conf/machine/include/qemu.inc + that prepends the following override to + MACHINEOVERRIDES: - SRC_URI_append_qemuall = "file://wired.config \ - file://wired-setup \ - " + MACHINEOVERRIDES =. "qemuall:" + This override allows variables to be overriden for all + machines emulated in QEMU, like in the following example + from the connman-conf recipe: + + SRC_URI_append_qemuall = "file://wired.config \ + file://wired-setup \ + " + + The underlying mechanism behind + MACHINEOVERRIDES is simply that it is + included in the default value of + OVERRIDES. -- cgit v1.2.3-54-g00ecf