diff options
author | Martin Klozik <martinx.klozik@intel.com> | 2017-01-10 09:19:37 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-01-10 09:19:37 +0000 |
commit | 5bd06d3527c2ade600cab62764aed06f344986bc (patch) | |
tree | 7bc03942232af7fc711333475de4e6a9db4e9187 /src/dpdk/Makefile | |
parent | e7a55a6d763692acc2cb1cddf5bf21eb7be95310 (diff) | |
parent | 0f21a0025a21b601fde7de90d806e9ca4a99fb81 (diff) |
Merge "rhel73_install: Provide installer script for RHEL 7.3"
Diffstat (limited to 'src/dpdk/Makefile')
-rwxr-xr-x | src/dpdk/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dpdk/Makefile b/src/dpdk/Makefile index 29967029..93cb7292 100755 --- a/src/dpdk/Makefile +++ b/src/dpdk/Makefile @@ -19,9 +19,11 @@ # Contributors: # Aihua Li, Huawei Technologies. # Martin Klozik, Intel Corporation. +# Christian Trautman, Red Hat Inc. include ../mk/master.mk include ../package-list.mk +include /etc/os-release .PHONY: install force_make @@ -77,6 +79,12 @@ else $(AT)sed -i -e 's/CONFIG_RTE_LIBRTE_VHOST_USER=.\+/CONFIG_RTE_LIBRTE_VHOST_USER=$(VHOST_USER)/g' $(CONFIG_FILE_LINUXAPP) $(AT)sed -i -e 's/CONFIG_RTE_BUILD_COMBINE_LIBS=./CONFIG_RTE_BUILD_COMBINE_LIBS=y/g' $(CONFIG_FILE_LINUXAPP) endif +# RHEL 7.3 specific config changes to compile +ifeq ($(ID),"rhel") +ifeq ($(VERSION_ID),"7.3") + $(AT)sed -i.bak s@'SRCS-y += ethtool/igb/igb_main.c'@'#SRCS-y += ethtool/igb/igb_main.c'@g $(WORK_DIR)/lib/librte_eal/linuxapp/kni/Makefile +endif +endif $(AT)sed -i -e 's/CONFIG_RTE_LIBRTE_VHOST=./CONFIG_RTE_LIBRTE_VHOST=y/g' $(CONFIG_FILE_LINUXAPP) $(AT)sed -i -e 's/CONFIG_RTE_LIBRTE_KNI=./CONFIG_RTE_LIBRTE_KNI=n/g' $(CONFIG_FILE_LINUXAPP) $(AT)cd $(WORK_DIR); make install T=$(DPDK_TARGET) -j DESTDIR=$(WORK_DIR) |