mongoose: 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
168e3eb80d
commit
c11b9d0068
|
@ -19,8 +19,8 @@ MONGOOSE_CFLAGS += -DNS_ENABLE_SSL -lssl -lcrypto -lz
|
|||
endif
|
||||
|
||||
define MONGOOSE_BUILD_CMDS
|
||||
$(TARGET_CC) -c $(@D)/mongoose.c $(MONGOOSE_CFLAGS) -o $(@D)/mongoose.o
|
||||
$(TARGET_AR) rcs $(@D)/libmongoose.a $(@D)/mongoose.o
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CC) -c $(@D)/mongoose.c $(MONGOOSE_CFLAGS) -o $(@D)/mongoose.o
|
||||
$(TARGET_MAKE_ENV) $(TARGET_AR) rcs $(@D)/libmongoose.a $(@D)/mongoose.o
|
||||
endef
|
||||
|
||||
define MONGOOSE_INSTALL_STAGING_CMDS
|
||||
|
|
Loading…
Reference in a new issue