mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 05:06:39 +00:00
libtommath: 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
aa1acf642c
commit
c223dcb165
@ -13,11 +13,11 @@ LIBTOMMATH_INSTALL_STAGING = YES
|
|||||||
LIBTOMMATH_INSTALL_TARGET = NO # only static library
|
LIBTOMMATH_INSTALL_TARGET = NO # only static library
|
||||||
|
|
||||||
define LIBTOMMATH_BUILD_CMDS
|
define LIBTOMMATH_BUILD_CMDS
|
||||||
$(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)"
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)"
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define LIBTOMMATH_INSTALL_STAGING_CMDS
|
define LIBTOMMATH_INSTALL_STAGING_CMDS
|
||||||
$(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install
|
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user