summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2018-10-05 12:12:41 +0100
committerThomas Monjalon <thomas@monjalon.net>2018-10-25 00:02:00 +0200
commitfa443893bc65aa709f969b365ba8dca948afa774 (patch)
tree35534a9b43740e02dbca9473d4037359d191e52f /mk
parentbef594ec5cc81598815b5f5579e8f50bccbf39bb (diff)
downloaddpdk-next-eventdev-fa443893bc65aa709f969b365ba8dca948afa774.zip
dpdk-next-eventdev-fa443893bc65aa709f969b365ba8dca948afa774.tar.gz
dpdk-next-eventdev-fa443893bc65aa709f969b365ba8dca948afa774.tar.xz
mk: use EXTRA_CFLAGS for pmdinfogen
Currently not able to pass EXTRA_CFLAGS while building *.pmd.c file, adding it. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Acked-by: Neil Horman <nhorman@tuxdriver.com>
Diffstat (limited to 'mk')
-rw-r--r--mk/internal/rte.compile-pre.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/mk/internal/rte.compile-pre.mk b/mk/internal/rte.compile-pre.mk
index a734cbb..0cf3791 100644
--- a/mk/internal/rte.compile-pre.mk
+++ b/mk/internal/rte.compile-pre.mk
@@ -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 $@ $@.pmd.c
-PMDINFO_CC = $(CC) $(CPPFLAGS) $(CFLAGS) -c -o $@.pmd.o $@.pmd.c
+PMDINFO_CC = $(CC) $(CPPFLAGS) $(CFLAGS) $(EXTRA_CFLAGS) -c -o $@.pmd.o $@.pmd.c
PMDINFO_LD = $(CROSS)ld $(LDFLAGS) -r -o $@.o $@.pmd.o $@
PMDINFO_TO_O = if grep -q 'RTE_PMD_REGISTER_.*(.*)' $<; then \
echo "$(if $V,$(PMDINFO_GEN), PMDINFO $@.pmd.c)" && \