]> git.droids-corp.org - dpdk.git/blobdiff - lib/librte_pmd_ixgbe/Makefile
mk: use relative rather than absolute pmd paths
[dpdk.git] / lib / librte_pmd_ixgbe / Makefile
index fbf6966980f202e18af0dd12c77d0027baaa0f72..e0f89168b876e1f958b558751f5ef3afcaa6dbe2 100644 (file)
@@ -82,10 +82,10 @@ endif
 # Add extra flags for base driver files (also known as shared code)
 # to disable warnings in them
 #
-BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(RTE_SDK)/lib/librte_pmd_ixgbe/ixgbe/*.c)))
+BASE_DRIVER_OBJS=$(patsubst %.c,%.o,$(notdir $(wildcard $(SRCDIR)/ixgbe/*.c)))
 $(foreach obj, $(BASE_DRIVER_OBJS), $(eval CFLAGS_$(obj)+=$(CFLAGS_BASE_DRIVER)))
 
-VPATH += $(RTE_SDK)/lib/librte_pmd_ixgbe/ixgbe
+VPATH += $(SRCDIR)/ixgbe
 
 #
 # all source are stored in SRCS-y