[Buildroot] [PATCH 3/4] ebtables: fix passing CFLAGS to configure

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon May 12 17:50:56 UTC 2014


Dear Max Filippov,

On Mon, 12 May 2014 07:27:05 +0400, Max Filippov wrote:
> EBTABLES_K64U32 is a string passed directly to the configure script,
> '+=' operator doesn't have any special meaningi inside it, so
> CFLAGS+=-DKERNEL_64_USERSPACE_32 is passed to shell, overwriting previous
> CFLAGS value.
> 
> Replace CFLAGS+="-DKERNEL_64_USERSPACE_32" with -DKERNEL_64_USERSPACE_32
> and pass CFLAGS="$(TARGET_CFLAGS) $(EBTABLES_K64U32)".
> 
> Signed-off-by: Max Filippov <jcmvbkbc at gmail.com>
> ---
>  package/ebtables/ebtables.mk |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list