[Buildroot] [PATCH v2] package/xen: Update to version 4.8.0

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu Dec 22 22:59:36 UTC 2016


Hello,

On Thu, 22 Dec 2016 14:21:57 -0800, Alistair Francis wrote:

> +TARGET_CONFIGURE_OPTS := $(subst CFLAGS=",APPEND_CFLAGS="-Wno-error ,$(TARGET_CONFIGURE_OPTS))

You seem to miss the very important fact that the variable namespace in
Buildroot is global. So when you change TARGET_CONFIGURE_OPTS here you
change it for *all* packages, not just yours.

What are you trying to do here? If you want to override the CFLAGS just
for Xen, you should do:

XEN_CONF_ENV = \
	CFLAGS="$(TARGET_CFLAGS) your custom cflags"

Best regards,

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


More information about the buildroot mailing list