summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2020-06-09 15:15:55 -0700
committerSai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>2020-06-09 15:29:15 -0700
commitbef2bf9b155bb0eebc5439e8f2a3a3716f250725 (patch)
tree2c568b338bd7bb9ffb8cfc7f4dc204777e28ce7b
parent1a648afe0bcfbab576dddb828d1fe653ac640e74 (diff)
downloadmeta-xilinx-master-old.tar.gz
u-boot-xlnx.inc: Explicitly set builddir pathmaster-old
Previous Yocto releases, builddir path was set in u-boot.inc within poky layer. Since u-boot-xlnx.inc inherits u-boot.inc, makefile configures and compiles u-boot-xlnx in a build directory ( set by B) that is not the source directory. In Dunfell, build directory path is moved from u-boot.inc to u-boot-common.inc which is not inherited in u-boot-xlnx recipes. As a result, during the build, makefile configures and compiles u-boot-xlnx from source directory resulting in the following error: tmp/work/zcu102_zynqmp-xilinx-linux/u-boot-xlnx/v2020.01-xilinx-v2020.1+gitAUTOINC+86c84c0d0f-r0/git is not clean, please run 'make mrproper' To fix the error, set builddir path (B) explicitly within u-boot-xlnx.inc Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com>
-rw-r--r--meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc
index 40ca73ef..4b8c4efe 100644
--- a/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc
+++ b/meta-xilinx-bsp/recipes-bsp/u-boot/u-boot-xlnx.inc
@@ -13,6 +13,7 @@ UBRANCHARG = "${@['nobranch=1', 'branch=${UBRANCH}'][d.getVar('UBRANCH', True) !
13SRC_URI = "${UBOOTURI};${UBRANCHARG}" 13SRC_URI = "${UBOOTURI};${UBRANCHARG}"
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16B = "${WORKDIR}/build"
16 17
17FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:" 18FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:"
18 19