rtmpdump: 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
3e546fa328
commit
503aabf672
@ -38,7 +38,7 @@ RTMPDUMP_MAKE_FLAGS = \
|
||||
$(RTMPDUMP_SHARED)
|
||||
|
||||
define RTMPDUMP_BUILD_CMDS
|
||||
$(MAKE) $(RTMPDUMP_MAKE_FLAGS) \
|
||||
$(TARGET_MAKE_ENV) $(MAKE) $(RTMPDUMP_MAKE_FLAGS) \
|
||||
XCFLAGS="$(RTMPDUMP_CFLAGS)" \
|
||||
XLDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
CROSS_COMPILE="$(TARGET_CROSS)" \
|
||||
@ -46,11 +46,11 @@ define RTMPDUMP_BUILD_CMDS
|
||||
endef
|
||||
|
||||
define RTMPDUMP_INSTALL_STAGING_CMDS
|
||||
$(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR) $(RTMPDUMP_MAKE_FLAGS)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/librtmp install DESTDIR=$(STAGING_DIR) $(RTMPDUMP_MAKE_FLAGS)
|
||||
endef
|
||||
|
||||
define RTMPDUMP_INSTALL_TARGET_CMDS
|
||||
$(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR) $(RTMPDUMP_MAKE_FLAGS)
|
||||
$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/librtmp install DESTDIR=$(TARGET_DIR) $(RTMPDUMP_MAKE_FLAGS)
|
||||
endef
|
||||
|
||||
$(eval $(generic-package))
|
||||
|
Loading…
Reference in New Issue
Block a user