diff options
| author | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-06-09 15:15:55 -0700 |
|---|---|---|
| committer | Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> | 2020-08-11 23:47:26 -0700 |
| commit | 883029f2d9b3a7484cbfce99b9bb7754d2ed1fb1 (patch) | |
| tree | 0a42838fdb36a1798fa33ee79a52a3d940c267e3 | |
| parent | d1dbaf2421fec914f67983bbdf7ebf63fabe47d7 (diff) | |
| download | meta-xilinx-883029f2d9b3a7484cbfce99b9bb7754d2ed1fb1.tar.gz | |
u-boot-xlnx.inc: Explicitly set builddir path
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.inc | 1 |
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) ! | |||
| 13 | SRC_URI = "${UBOOTURI};${UBRANCHARG}" | 13 | SRC_URI = "${UBOOTURI};${UBRANCHARG}" |
| 14 | 14 | ||
| 15 | S = "${WORKDIR}/git" | 15 | S = "${WORKDIR}/git" |
| 16 | B = "${WORKDIR}/build" | ||
| 16 | 17 | ||
| 17 | FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:" | 18 | FILESEXTRAPATHS_prepend := "${THISDIR}/u-boot:" |
| 18 | 19 | ||
