Skip to contentSkip to conversation

dhcpdump: add $(TARGET_MAKE_ENV) before $(MAKE)

Buildroot Thomas Petazzoni 1 participant 1 message Oct 21, 2015

lore
Share & tools
lore
#0 lore raw

commit: http://git.buildroot.net/buildroot/commit/?id=6604119823b4f59b60b87de2b62621f673eede96
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

For consistency reasons with other packages, let's pass $(TARGET_MAKE_ENV) in the environment when calling $(MAKE).

[Thomas: improved commit log.]

---
 package/dhcpdump/dhcpdump.mk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
package/dhcpdump/dhcpdump.mk +2 -2
index 6b677a6..3584f4f 100644
@@ -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