[Buildroot] Qt5 build failure (beaglebone_qt5_defconfig)

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Fri Apr 7 08:19:10 UTC 2017


Hello,

On Fri, 7 Apr 2017 10:09:11 +0200, Michael Trimarchi wrote:

> > > diff --git a/boot/uboot/uboot.mk b/boot/uboot/uboot.mk
> > > index 1d464d967..edfc27fa7 100644
> > > --- a/boot/uboot/uboot.mk
> > > +++ b/boot/uboot/uboot.mk
> > > @@ -195,8 +195,9 @@ endef
> > >  endif # BR2_TARGET_UBOOT_BUILD_SYSTEM_LEGACY
> > >  
> > >  define UBOOT_BUILD_CMDS
> > > -	$(if $(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH),
> > > -		cp -f $(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH)) $(@D)/arch/$(UBOOT_ARCH)/dts/
> > > +	UBOOT_CUSTOM_DTS_PATH=$(call qstrip,$(BR2_TARGET_UBOOT_CUSTOM_DTS_PATH))
> > > +	$(if $(UBOOT_CUSTOM_DTS_PATH),
> > > +		cp -f $(UBOOT_CUSTOM_DTS_PATH) $(@D)/arch/$(UBOOT_ARCH)/dts/
> > >  	)  
> 
> My error was cp -f with just one parameter. Test pass and cp -f fail

Ah, yes, obviously. Though it would be nicer to define
UBOOT_CUSTOM_DTS_PATH outside of UBOOT_BUILD_CMDS.

Could you send a separate patch, fixing just that?

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com



More information about the buildroot mailing list