mirror of
https://github.com/thead-yocto-mirror/meta-riscv
synced 2026-09-09 02:04:41 +02:00
u-boot common files set O=.. option for make which actually
sets KBUILD_SRC, which triggers a step in u-boot system called
prepare3. This step checks if make has been run inside sourcedir
and since we are setting O=${B} and B is set to S, it has run
inside S during do_configure, so do_compile fails to build e.g.
| /mnt/b/yoe/master/build/tmp/work/visionfive-yoe-linux/u-boot-starfive/v2021.04-r0/git is not clean, please run 'make mrproper'
| in the '/mnt/b/yoe/master/build/tmp/work/visionfive-yoe-linux/u-boot-starfive/v2021.04-r0/git' directory.
Signed-off-by: Khem Raj <raj.khem@gmail.com>