[Buildroot] Custom package using buildroot-linux-uclibc-g++

Thomas Petazzoni thomas.petazzoni at bootlin.com
Mon Feb 12 15:53:19 UTC 2018


Hello,

On Mon, 12 Feb 2018 03:47:23 -0700 (MST), AAlex_ wrote:

> i created a custom package like the libfoo example.
> Using $(eval $(generic-package))
> The makefile extracts objects from archive and should link them to a so.
> Buildroot is using x86_64-buildroot-linux-uclibc-gcc but this doesnt work
> (source is c++). 
> How can i define that the x86_64-buildroot-linux-uclibc-g++ (which is
> availalble in host/bin) is used instead of the
> x86_64-buildroot-linux-uclibc-gcc for this package?

Use TARGET_CXX instead of TARGET_CC. But without seeing your actual
package .mk file it is hard to say. Could you post your .mk file ?

Best regards,

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


More information about the buildroot mailing list