babeld: use TARGET_CONFIGURE_OPTS

As suggested by a previous submission of
babeld (https://patchwork.ozlabs.org/patch/631953/), we can use
TARGET_CONFIGURE_OPTS instead of passing CFLAGS and LDFLAGS in
PLATFORM_DEFINES.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2016-07-03 21:25:50 +02:00
parent 985ec224d3
commit dbf799e2af

View File

@ -10,8 +10,7 @@ BALELD_LICENSE = MIT
BALELD_LICENSE_FILES = LICENSE
define BABELD_BUILD_CMDS
$(MAKE) -C $(@D) CC="$(TARGET_CC)" \
PLATFORM_DEFINES="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)"
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS)
endef
define BABELD_INSTALL_TARGET_CMDS