[Buildroot] [PATCH v6 1/4] imx-mkimage: new package

Thomas Petazzoni thomas.petazzoni at bootlin.com
Tue Apr 10 06:56:45 UTC 2018


Hello,

On Tue, 10 Apr 2018 07:27:22 +0200, Erik Larsson wrote:

> > This commit log really needs to be extended. What was the need to add
> > LDFLAGS ? It seems like a very simple program, which could be built
> > without special LDFLAGS. What was the issue that lead you to add this
> > patch ?  
> 
> If LDFLAGS is not added it will use the host machine libz, and fail if
> not available, but by adding LDFLAGS it will build using Buildroot
> compiled libz.

Hum, indeed, we're building a host package here, so we need to
explicitly pass -L$(HOST_DIR)/lib, otherwise we link against the
system-provided libraries.

> Do you want me to update the patch information in a new patch?

Yes, that would be nice. Thanks!

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list