Index: conf/templates/leahi/local.conf.sample =================================================================== diff -u -r7279c7f40d6a83f2f14a8442a5e825419674e70b -reaf04d1d71809cd943ae8bf8a9d3b65fab4e7d59 --- conf/templates/leahi/local.conf.sample (.../local.conf.sample) (revision 7279c7f40d6a83f2f14a8442a5e825419674e70b) +++ conf/templates/leahi/local.conf.sample (.../local.conf.sample) (revision eaf04d1d71809cd943ae8bf8a9d3b65fab4e7d59) @@ -305,3 +305,6 @@ # the following lines are defined for files-based update. # SWUPDATE_FILES_TARGZ_FILE = "/home/bruce/digi_yocto/ccimx8mm-dvk/update/swupdate.tar.gz" # SWUPDATE_SCRIPT = "/home/bruce/digi_yocto/ccimx8mm-dvk/update/update_files.sh" + +BB_ENV_PASSTHROUGH_ADDITIONS += "BUILD_VARIANT" + Index: recipes-bsp/manufacturing/leahi-manufacturing_1.0.bb =================================================================== diff -u -rca355c1caedbcca5a3468524675f6e4ce06b605f -reaf04d1d71809cd943ae8bf8a9d3b65fab4e7d59 --- recipes-bsp/manufacturing/leahi-manufacturing_1.0.bb (.../leahi-manufacturing_1.0.bb) (revision ca355c1caedbcca5a3468524675f6e4ce06b605f) +++ recipes-bsp/manufacturing/leahi-manufacturing_1.0.bb (.../leahi-manufacturing_1.0.bb) (revision eaf04d1d71809cd943ae8bf8a9d3b65fab4e7d59) @@ -7,8 +7,8 @@ # always use the latest commit. SRCREV = "${AUTOREV}" -# the cloned repo is located in the ${WORKDIR}/git -S = "${WORKDIR}/git" +# the cloned repo is located in the ${WORKDIR}/git/UI/ +S = "${WORKDIR}/git/UI/${BUILD_VARIANT}" # Optionally, you can specify a specific tag or branch to use # PV = "1.0+git${SRCPV}" @@ -20,7 +20,7 @@ # TODO # 1 - get files from git repository do_install() { - bbplain " ---------- Leahi: Install " + bbplain " ---------- Leahi: Install : <${BUILD_VARIANT}>" # build the required folders install -d ${D}/opt/leahi install -d ${D}/opt/leahi/scripts