xvkbd: use $(TARGET_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2016-10-13 19:13:20 -03:00 committed by Thomas Petazzoni
parent bccfde628f
commit 5664359e9f

View file

@ -12,12 +12,12 @@ XVKBD_LICENSE_FILES = README
# Passing USRLIBDIR ensures that the stupid Makefile doesn't add
# /usr/lib to the library search path.
define XVKBD_BUILD_CMDS
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) \
USRLIBDIR="$(STAGING_DIR)/usr/lib"
endef
define XVKBD_INSTALL_TARGET_CMDS
$(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
XVKBD_DEPENDENCIES = \