[meta-freescale] [PATCH 3/4] imx-base: Create variable to allow set WKS_FILE using machine override

Fabio Berton fabio.berton at ossystems.com.br
Mon Oct 9 10:12:18 PDT 2017


Use SOC_DEFAULT_WKS_FILE variable to set WKS_FILE for allow
set WKS_FILE by machine.

Signed-off-by: Fabio Berton <fabio.berton at ossystems.com.br>
---
 conf/machine/include/imx-base.inc | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 4c7071b6..67d43f89 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -240,7 +240,10 @@ WKS_FILE_DEPENDS ?= " \
     e2fsprogs-native \
     bmap-tools-native \
 "
-WKS_FILE ?= "imx-uboot-bootpart.wks"
+
+SOC_DEFAULT_WKS_FILE ?= "imx-uboot-bootpart.wks"
+
+WKS_FILE ?= "${SOC_DEFAULT_WKS_FILE}"
 
 SERIAL_CONSOLE = "115200 ttymxc0"
 SERIAL_CONSOLE_mxs = "115200 ttyAMA0"
-- 
2.14.1



More information about the meta-freescale mailing list