libvpx: cleanup configure/make vars

Instead of redefining LD (and duplicating it), it is better to
unset the existing value first.

Signed-off-by: Luiz Angelo Daros de Luca <luizluca@gmail.com>
This commit is contained in:
Luiz Angelo Daros de Luca 2019-04-29 15:05:18 -03:00
parent 62eebff668
commit e1a2057f64
1 changed files with 3 additions and 6 deletions

View File

@ -62,12 +62,9 @@ endif
# libvpx expects gcc as linker but uses $LD if provided
# However, OpenWRT defines LD as *-uclibc-ld and not *-gcc
CONFIGURE_VARS += \
CROSS=$(GNU_TARGET_NAME) \
LD="$(TARGET_CC)" \
MAKE_FLAGS += \
LD="$(TARGET_CC)" \
CONFIGURE_VARS := $(filter-out LD=%,$(CONFIGURE_VARS)) LD="$(TARGET_CC)" \
CROSS=$(GNU_TARGET_NAME)
MAKE_FLAGS := $(filter-out LD=%,$(MAKE_FLAGS)) LD="$(TARGET_CC)"
define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include/vpx/