pppd: 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
7828bf001c
commit
ebd73fab3e
@ -46,11 +46,11 @@ PPPD_POST_EXTRACT_HOOKS += PPPD_SET_RESOLV_CONF
|
|||||||
define PPPD_CONFIGURE_CMDS
|
define PPPD_CONFIGURE_CMDS
|
||||||
$(SED) 's/FILTER=y/#FILTER=y/' $(PPPD_DIR)/pppd/Makefile.linux
|
$(SED) 's/FILTER=y/#FILTER=y/' $(PPPD_DIR)/pppd/Makefile.linux
|
||||||
$(SED) 's/ifneq ($$(wildcard \/usr\/include\/pcap-bpf.h),)/ifdef FILTER/' $(PPPD_DIR)/*/Makefile.linux
|
$(SED) 's/ifneq ($$(wildcard \/usr\/include\/pcap-bpf.h),)/ifdef FILTER/' $(PPPD_DIR)/*/Makefile.linux
|
||||||
( cd $(@D); ./configure --prefix=/usr )
|
( cd $(@D); $(TARGET_MAKE_ENV) ./configure --prefix=/usr )
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define PPPD_BUILD_CMDS
|
define PPPD_BUILD_CMDS
|
||||||
$(MAKE) CC="$(TARGET_CC)" COPTS="$(TARGET_CFLAGS)" \
|
$(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" COPTS="$(TARGET_CFLAGS)" \
|
||||||
-C $(@D) $(PPPD_MAKE_OPTS)
|
-C $(@D) $(PPPD_MAKE_OPTS)
|
||||||
endef
|
endef
|
||||||
|
|
||||||
@ -104,7 +104,7 @@ define PPPD_INSTALL_TARGET_CMDS
|
|||||||
endef
|
endef
|
||||||
|
|
||||||
define PPPD_INSTALL_STAGING_CMDS
|
define PPPD_INSTALL_STAGING_CMDS
|
||||||
$(MAKE) INSTROOT=$(STAGING_DIR)/ -C $(@D) $(PPPD_MAKE_OPTS) install-devel
|
$(TARGET_MAKE_ENV) $(MAKE) INSTROOT=$(STAGING_DIR)/ -C $(@D) $(PPPD_MAKE_OPTS) install-devel
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(generic-package))
|
$(eval $(generic-package))
|
||||||
|
Loading…
Reference in New Issue
Block a user