[Buildroot] [PATCH 1/1] boot/uboot: Set MAKE_ENV for kconfig build system
Baruch Siach
baruch at tkos.co.il
Wed Sep 5 10:42:23 UTC 2018
Hi Thomas,
On Wed, Sep 05, 2018 at 10:49:40AM +0100, Thomas Preston wrote:
> U-Boot fails to build in gitlab CI context because the kconfig-package
> build stage is unable to find bison for flex even though they are
> installed in BR_BINARIES_DIR.
>
> To fix this, set UBOOT_MAKE_ENV so that UBOOT_KCONFIG_MAKE uses the
> correct PATH.
>
> Signed-off-by: Thomas Preston <thomas.preston at codethink.co.uk>
> ---
> boot/uboot/uboot.mk | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
> index bddafe234d..36428e65fe 100644
> --- a/boot/uboot/uboot.mk
> +++ b/boot/uboot/uboot.mk
> @@ -449,6 +449,9 @@ endif # BR2_TARGET_UBOOT && BR_BUILDING
> ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY),y)
> $(eval $(generic-package))
> else ifeq ($(BR2_TARGET_UBOOT_BUILD_SYSTEM_KCONFIG),y)
> +UBOOT_MAKE_ENV = \
> + $(TARGET_MAKE_ENV) \
> + BR_BINARIES_DIR=$(BINARIES_DIR)
I can't find any reference to BR_BINARIES_DIR in U-Boot related Buildroot
makefile code, or in current U-Boot source tree. How is this going to work?
baruch
> UBOOT_KCONFIG_DEPENDENCIES = \
> $(BR2_BISON_HOST_DEPENDENCY) \
> $(BR2_FLEX_HOST_DEPENDENCY)
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
More information about the buildroot
mailing list