libpfm4: 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:
parent
d90b8ec383
commit
78cefe7e60
|
@ -17,15 +17,15 @@ LIBPFM4_FLAGS = SYS=Linux ARCH=$(BR2_ARCH) \
|
||||||
DBG=
|
DBG=
|
||||||
|
|
||||||
define LIBPFM4_BUILD_CMDS
|
define LIBPFM4_BUILD_CMDS
|
||||||
$(MAKE) -C $(@D) $(LIBPFM4_FLAGS)
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define LIBPFM4_INSTALL_STAGING_CMDS
|
define LIBPFM4_INSTALL_STAGING_CMDS
|
||||||
$(MAKE) -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(STAGING_DIR)/usr install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(STAGING_DIR)/usr install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define LIBPFM4_INSTALL_TARGET_CMDS
|
define LIBPFM4_INSTALL_TARGET_CMDS
|
||||||
$(MAKE) -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(TARGET_DIR)/usr install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(LIBPFM4_FLAGS) PREFIX=$(TARGET_DIR)/usr install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
|
Loading…
Reference in a new issue