[Buildroot] [PATCH v3,3/3] soletta: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Dec 19 22:12:08 UTC 2016


Hello,

On Sun, 18 Dec 2016 23:48:20 +0100, Fabrice Fontaine wrote:
> Signed-off-by: Fabrice Fontaine <fabrice.fontaine at orange.com>

I'm sorry, but this still doesn't work with old make versions. I get:

make[1]: Entering directory `/home/test/buildroot/output/build/soletta-v1'
Makefile.smallos:35: "LDFLAGS not set. This is probably an error"
Makefile.smallos:57: *** multiple target patterns.  Stop.
make[1]: Leaving directory `/home/test/buildroot/output/build/soletta-v1'

This is due to the := assignments in the target definitions. If I change:

$(soletta_target): private export BOARD_NAME:=$(BOARD_NAME)
$(soletta_config): private export BOARD_NAME:=$(BOARD_NAME)

to

$(soletta_target): private export BOARD_NAME=$(BOARD_NAME)
$(soletta_config): private export BOARD_NAME=$(BOARD_NAME)

then a different problem happens: the "private" keyword apparently
didn't exist in make 3.81, and therefore is interpreted as being a
target, and therefore:

make[1]: Entering directory `/home/test/buildroot/output/build/soletta-v1'
Makefile.smallos:35: "LDFLAGS not set. This is probably an error"
make[1]: *** No rule to make target `private', needed by `/home/test/buildroot/output/build/soletta-v1/.config'.  Stop.
make[1]: Leaving directory `/home/test/buildroot/output/build/soletta-v1'

So, really, this package that requires a brand new version of make, and
python3, is a bit annoying in terms of build process... Maybe this is
something you can work out with upstream?

In the mean time, we cannot apply this, as it will badly fail on our
autobuilders, and for many of our users who run fairly old systems.

Thanks,

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



More information about the buildroot mailing list