[dpdk-dev] [memnic PATCH 15/16] pmd: remove useless makefile variables

Thomas Monjalon thomas.monjalon at 6wind.com
Tue Feb 4 16:54:30 CET 2014


Signed-off-by: Thomas Monjalon <thomas.monjalon at 6wind.com>
---
 pmd/Makefile |    7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/pmd/Makefile b/pmd/Makefile
index 730b126..5edc44e 100644
--- a/pmd/Makefile
+++ b/pmd/Makefile
@@ -29,10 +29,7 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
 # OF THE POSSIBILITY OF SUCH DAMAGE.
 
-PKG = librte_pmd_memnic_copy
-
-RTE_CONFIG = $(RTE_INCLUDE)/rte_config.h
-SOLIB = $(PKG).so
+SOLIB = librte_pmd_memnic_copy.so
 DOC = dpdk-memnic.rst
 
 S ?= .
@@ -59,7 +56,7 @@ ifeq '$(RTE_INCLUDE)' ''
 	@ echo 'ERROR: RTE_INCLUDE is not set' && false
 endif
 	$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) \
-		-I$(RTE_INCLUDE) -include $(RTE_CONFIG) \
+		-I$(RTE_INCLUDE) -include $(RTE_INCLUDE)/rte_config.h \
 		-I$S/../common -o $@ $<
 
 install : $(DESTDIR)$(libdir)/$(SOLIB)
-- 
1.7.10.4



More information about the dev mailing list