dhcpdump: add $(TARGET_MAKE_ENV) before $(MAKE)
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Tue, 20 Oct 2015 14:05:52 +0000 (15:05 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 21 Oct 2015 20:10:55 +0000 (22:10 +0200)
For consistency reasons with other packages, let's pass
$(TARGET_MAKE_ENV) in the environment when calling $(MAKE).

[Thomas: improved commit log.]

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/dhcpdump/dhcpdump.mk

index 6b677a674ae6ddc62aede8c64fa3d0653e89562c..3584f4f22da2b1879ba4062ddf65cee383a05d69 100644 (file)
@@ -16,8 +16,8 @@ DHCPDUMP_LIBS += `$(STAGING_DIR)/usr/bin/pcap-config --static --additional-libs`
 endif
 
 define DHCPDUMP_BUILD_CMDS
-       $(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS) -D_GNU_SOURCE" \
-               LIBS="$(DHCPDUMP_LIBS)"
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC) $(TARGET_CFLAGS) \
+               -D_GNU_SOURCE" LIBS="$(DHCPDUMP_LIBS)"
 endef
 
 define DHCPDUMP_INSTALL_TARGET_CMDS