Skip to contentSkip to conversation

mk: use EXTRA_CFLAGS for pmdinfogen

PATCH Applied Ferruh Yigit 3 participants 3 messages Oct 5, 2018 – Oct 24, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mk: use EXTRA_CFLAGS for pmdinfogen

Currently not able to pass EXTRA_CFLAGS while building *.pmd.c file, adding it.

---
 mk/internal/rte.compile-pre.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mk/internal/rte.compile-pre.mk +1 -1
index a734cbbd0..0cf3791b4 100644
@@ -60,7 +60,7 @@ EXPERIMENTAL_CHECK = $(RTE_SDK)/buildtools/check-experimental-syms.sh
 CHECK_EXPERIMENTAL = $(EXPERIMENTAL_CHECK) $(SRCDIR)/$(EXPORT_MAP) $@
 
 PMDINFO_GEN = $(RTE_SDK_BIN)/app/dpdk-pmdinfogen $@ [email protected]
-PMDINFO_CC = $(CC) $(CPPFLAGS) $(CFLAGS) -c -o [email protected] [email protected]
+PMDINFO_CC = $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -c -o [email protected] [email protected]
 PMDINFO_LD = $(CROSS)ld $(LDFLAGS) -r -o [email protected] [email protected] $@
 PMDINFO_TO_O = if grep -q 'RTE_PMD_REGISTER_.*(.*)' $<; then \
 	echo "$(if $V,$(PMDINFO_GEN),  PMDINFO [email protected])" && \
Signature · 1 line
2.17.1
Acked-by on v1 1/1
#1 lore raw
Quoted 24 lines · Ferruh Yigit

Currently not able to pass EXTRA_CFLAGS while building *.pmd.c file, adding it.

---
 mk/internal/rte.compile-pre.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
mk/internal/rte.compile-pre.mk +1 -1
index a734cbbd0..0cf3791b4 100644
@@ -60,7 +60,7 @@ EXPERIMENTAL_CHECK = $(RTE_SDK)/buildtools/check-experimental-syms.sh
 CHECK_EXPERIMENTAL = $(EXPERIMENTAL_CHECK) $(SRCDIR)/$(EXPORT_MAP) $@
 
 PMDINFO_GEN = $(RTE_SDK_BIN)/app/dpdk-pmdinfogen $@ [email protected]
-PMDINFO_CC = $(CC) $(CPPFLAGS) $(CFLAGS) -c -o [email protected] [email protected]
+PMDINFO_CC = $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -c -o [email protected] [email protected]
 PMDINFO_LD = $(CROSS)ld $(LDFLAGS) -r -o [email protected] [email protected] $@
 PMDINFO_TO_O = if grep -q 'RTE_PMD_REGISTER_.*(.*)' $<; then \
 	echo "$(if $V,$(PMDINFO_GEN),  PMDINFO [email protected])" && \
Signature · 1 line
2.17.1