mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 21:56:31 +00:00
binutils: 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
cc5e9fe4bb
commit
99f1e508f0
@ -108,16 +108,16 @@ endef
|
|||||||
# We just want libbfd, libiberty and libopcodes,
|
# We just want libbfd, libiberty and libopcodes,
|
||||||
# not the full-blown binutils in staging
|
# not the full-blown binutils in staging
|
||||||
define BINUTILS_INSTALL_STAGING_CMDS
|
define BINUTILS_INSTALL_STAGING_CMDS
|
||||||
$(MAKE) -C $(@D)/bfd DESTDIR=$(STAGING_DIR) install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(STAGING_DIR) install
|
||||||
$(MAKE) -C $(@D)/opcodes DESTDIR=$(STAGING_DIR) install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/opcodes DESTDIR=$(STAGING_DIR) install
|
||||||
$(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# If we don't want full binutils on target
|
# If we don't want full binutils on target
|
||||||
ifneq ($(BR2_PACKAGE_BINUTILS_TARGET),y)
|
ifneq ($(BR2_PACKAGE_BINUTILS_TARGET),y)
|
||||||
define BINUTILS_INSTALL_TARGET_CMDS
|
define BINUTILS_INSTALL_TARGET_CMDS
|
||||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(TARGET_DIR) install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/bfd DESTDIR=$(TARGET_DIR) install
|
||||||
$(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/libiberty DESTDIR=$(STAGING_DIR) install
|
||||||
endef
|
endef
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user