blob: c6968d7cea74bc8ba106f99d1d722a9eb9dde910 [file] [log] [blame]
Ed Warnickecb9cada2015-12-08 15:45:58 -07001# Copyright (c) 2015 Cisco and/or its affiliates.
2# Licensed under the Apache License, Version 2.0 (the "License");
3# you may not use this file except in compliance with the License.
4# You may obtain a copy of the License at:
5#
6# http://www.apache.org/licenses/LICENSE-2.0
7#
8# Unless required by applicable law or agreed to in writing, software
9# distributed under the License is distributed on an "AS IS" BASIS,
10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11# See the License for the specific language governing permissions and
12# limitations under the License.
13
14# Scripts require non-POSIX parts of bash
15SHELL := /bin/bash
16
17DPDK_BUILD_DIR ?= $(CURDIR)/_build
18DPDK_INSTALL_DIR ?= $(CURDIR)/_install
Damjan Marion19010202016-03-24 17:17:47 +010019DPDK_PKTMBUF_HEADROOM ?= 128
Ed Warnickecb9cada2015-12-08 15:45:58 -070020DPDK_DOWNLOAD_DIR ?= $(HOME)/Downloads
Ed Warnickecb9cada2015-12-08 15:45:58 -070021DPDK_DEBUG ?= n
Sergio Gonzalez Monroyd04b60b2017-01-20 15:35:23 +000022DPDK_CRYPTO_SW_PMD ?= n
Damjan Marion6a5be212017-05-11 14:55:43 +020023DPDK_MLX4_PMD ?= n
Damjan Marion696f1ad2016-12-23 22:42:41 +010024DPDK_MLX5_PMD ?= n
Ed Warnickecb9cada2015-12-08 15:45:58 -070025
26B := $(DPDK_BUILD_DIR)
27I := $(DPDK_INSTALL_DIR)
Damjan Marion6a5be212017-05-11 14:55:43 +020028DPDK_VERSION ?= 17.05
Damjan Marion9ec92d32017-05-17 16:07:32 +020029PKG_SUFFIX ?= vpp3
Thomas Monjalon96e10b52016-06-02 14:52:32 +020030DPDK_BASE_URL ?= http://fast.dpdk.org/rel
31DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.xz
Damjan Mariondab123b2016-03-29 16:43:58 +020032DPDK_TAR_URL := $(DPDK_BASE_URL)/$(DPDK_TARBALL)
Damjan Marion4983e472017-02-16 20:28:35 +010033DPDK_17.02_TARBALL_MD5_CKSUM := 6b9f7387c35641f4e8dbba3e528f2376
Damjan Marion6a5be212017-05-11 14:55:43 +020034DPDK_17.05_TARBALL_MD5_CKSUM := 0a68c31cd6a6cabeed0a4331073e4c05
Ed Warnickecb9cada2015-12-08 15:45:58 -070035DPDK_SOURCE := $(B)/dpdk-$(DPDK_VERSION)
Radu Nicolau2e3677b2017-02-20 12:27:02 +000036
Radu Nicolau6ca42d32017-02-16 13:54:42 +000037ifeq ($(DPDK_CRYPTO_SW_PMD),y)
Sergio Gonzalez Monroyfa80f2e2017-03-07 14:39:29 +000038AESNIMB_LIB_TARBALL := v0.44-gcm.2.tar.gz
Radu Nicolau6ca42d32017-02-16 13:54:42 +000039AESNIMB_LIB_TARBALL_URL := http://github.com/01org/intel-ipsec-mb/archive/$(AESNIMB_LIB_TARBALL)
Sergio Gonzalez Monroyfa80f2e2017-03-07 14:39:29 +000040AESNIMB_LIB_SOURCE := $(B)/intel-ipsec-mb-0.44-gcm.2
Radu Nicolau2e3677b2017-02-20 12:27:02 +000041ISA_L_CRYPTO_LIB_TARBALL := isa_l_crypto.tar.gz
42ISA_L_CRYPTO_LIB_TARBALL_URL := http://github.com/01org/isa-l_crypto/archive/master.tar.gz
43ISA_L_CRYPTO_LIB_SOURCE := $(B)/isa-l_crypto-master
Radu Nicolau6ca42d32017-02-16 13:54:42 +000044endif
Damjan Marione39a7b82016-04-26 14:54:57 +020045
46ifneq (,$(findstring clang,$(CC)))
47DPDK_CC=clang
Damjan Marion78edb8e2017-02-06 22:28:52 +010048else ifneq (,$(findstring icc,$(CC)))
49DPDK_CC=icc
Damjan Marione39a7b82016-04-26 14:54:57 +020050else
51DPDK_CC=gcc
52endif
53
Damjan Marion1664f9b2017-04-24 20:48:53 +020054MACHINE=$(shell uname -m)
55
Damjan Marion78edb8e2017-02-06 22:28:52 +010056##############################################################################
Damjan Marion1664f9b2017-04-24 20:48:53 +020057# Intel x86
Damjan Marion78edb8e2017-02-06 22:28:52 +010058##############################################################################
Damjan Marion1664f9b2017-04-24 20:48:53 +020059ifeq ($(MACHINE),$(filter $(MACHINE),x86_64 i686))
60DPDK_TARGET ?= $(MACHINE)-native-linuxapp-$(DPDK_CC)
Damjan Marion78edb8e2017-02-06 22:28:52 +010061DPDK_MACHINE ?= nhm
62DPDK_TUNE ?= core-avx2
Christophe Fontaine737547e2016-05-11 08:40:33 +000063
Damjan Marion78edb8e2017-02-06 22:28:52 +010064##############################################################################
65# Cavium ThunderX
66##############################################################################
67else ifneq (,$(findstring thunder,$(shell cat /sys/bus/pci/devices/0000:00:01.0/uevent | grep cavium)))
68export CROSS=""
69DPDK_TARGET ?= arm64-thunderx-linuxapp-$(DPDK_CC)
70DPDK_MACHINE ?= thunderx
71DPDK_TUNE ?= generic
72
73##############################################################################
74# Unknown platofrm
75##############################################################################
76else
77$(error unknown platform)
Christophe Fontaine737547e2016-05-11 08:40:33 +000078endif
79
Ed Warnickecb9cada2015-12-08 15:45:58 -070080JOBS := $(shell grep processor /proc/cpuinfo | wc -l)
81
82# compiler/linker custom arguments
83DPDK_CPU_CFLAGS := -pie -fPIC
Ed Warnickecb9cada2015-12-08 15:45:58 -070084DPDK_EXTRA_LDFLAGS := -g
85
86ifeq ($(DPDK_DEBUG),n)
Damjan Marion1c80e832016-05-11 23:07:18 +020087DPDK_EXTRA_CFLAGS := -g -mtune=$(DPDK_TUNE)
Ed Warnickecb9cada2015-12-08 15:45:58 -070088else
Damjan Marione39a7b82016-04-26 14:54:57 +020089DPDK_EXTRA_CFLAGS := -g -O0
Ed Warnickecb9cada2015-12-08 15:45:58 -070090endif
91
Radu Nicolau2e3677b2017-02-20 12:27:02 +000092ifeq ($(DPDK_CRYPTO_SW_PMD),y)
Sergio Gonzalez Monroyfa80f2e2017-03-07 14:39:29 +000093DPDK_EXTRA_CFLAGS += -I$(I)/include
94DPDK_EXTRA_LDFLAGS += -L$(I)/lib
Radu Nicolau2e3677b2017-02-20 12:27:02 +000095DPDK_MAKE_EXTRA_ARGS += AESNI_MULTI_BUFFER_LIB_PATH=$(AESNIMB_LIB_SOURCE)
96endif
97
Ed Warnickecb9cada2015-12-08 15:45:58 -070098# assemble DPDK make arguments
99DPDK_MAKE_ARGS := -C $(DPDK_SOURCE) -j $(JOBS) \
100 T=$(DPDK_TARGET) \
101 RTE_CONFIG_TEMPLATE=../custom-config \
Ed Warnickecb9cada2015-12-08 15:45:58 -0700102 EXTRA_CFLAGS="$(DPDK_EXTRA_CFLAGS)" \
103 EXTRA_LDFLAGS="$(DPDK_EXTRA_LDFLAGS)" \
104 CPU_CFLAGS="$(DPDK_CPU_CFLAGS)" \
Damjan Marion2ce7f982017-01-09 20:24:50 +0100105 DESTDIR=$(I) \
Christophe Fontaine737547e2016-05-11 08:40:33 +0000106 $(DPDK_MAKE_EXTRA_ARGS)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700107
Damjan Marion78edb8e2017-02-06 22:28:52 +0100108DPDK_SOURCE_FILES := $(shell [ -e $(DPDK_SOURCE) ] && find $(DPDK_SOURCE) -name "*.[chS]")
Ed Warnickecb9cada2015-12-08 15:45:58 -0700109
110define set
111@if grep -q CONFIG_$1 $@ ; \
112 then sed -i -e 's/.*\(CONFIG_$1=\).*/\1$2/' $@ ; \
113 else echo CONFIG_$1=$2 >> $@ ; \
114fi
115endef
116
117all: build
118
119$(B)/custom-config: $(B)/.patch.ok Makefile
Damjan Marion106f0ed2016-04-26 10:44:28 +0200120 @echo --- generating custom config from $(DPDK_SOURCE)/config/defconfig_$(DPDK_TARGET) ---
121 @cpp -undef -ffreestanding -x assembler-with-cpp $(DPDK_SOURCE)/config/defconfig_$(DPDK_TARGET) $@
Ed Warnickecb9cada2015-12-08 15:45:58 -0700122 $(call set,RTE_MACHINE,$(DPDK_MACHINE))
Ed Warnickecb9cada2015-12-08 15:45:58 -0700123 @# modify options
Damjan Marion13f07182016-02-05 06:44:54 -0800124 $(call set,RTE_MAX_LCORE,256)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700125 $(call set,RTE_PKTMBUF_HEADROOM,$(DPDK_PKTMBUF_HEADROOM))
126 $(call set,RTE_LIBEAL_USE_HPET,y)
127 $(call set,RTE_BUILD_COMBINE_LIBS,y)
Damjan Mariona1556802016-06-26 20:12:40 +0200128 $(call set,RTE_PCI_CONFIG,y)
129 $(call set,RTE_PCI_EXTENDED_TAG,"on")
130 $(call set,RTE_PCI_MAX_READ_REQUEST_SIZE,4096)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700131 @# enable debug init for device drivers
132 $(call set,RTE_LIBRTE_I40E_DEBUG_INIT,$(DPDK_DEBUG))
133 $(call set,RTE_LIBRTE_IXGBE_DEBUG_INIT,$(DPDK_DEBUG))
134 $(call set,RTE_LIBRTE_E1000_DEBUG_INIT,$(DPDK_DEBUG))
135 $(call set,RTE_LIBRTE_VIRTIO_DEBUG_INIT,$(DPDK_DEBUG))
136 $(call set,RTE_LIBRTE_VMXNET3_DEBUG_INIT,$(DPDK_DEBUG))
John Lod9bf9ab2016-02-25 11:17:55 -0500137 $(call set,RTE_LIBRTE_PMD_BOND,y)
138 $(call set,RTE_LIBRTE_IP_FRAG,y)
Sergio Gonzalez Monroyd04b60b2017-01-20 15:35:23 +0000139 $(call set,RTE_LIBRTE_PMD_QAT,y)
140 $(call set,RTE_LIBRTE_PMD_AESNI_MB,$(DPDK_CRYPTO_SW_PMD))
141 $(call set,RTE_LIBRTE_PMD_AESNI_GCM,$(DPDK_CRYPTO_SW_PMD))
Damjan Marion6a5be212017-05-11 14:55:43 +0200142 $(call set,RTE_LIBRTE_MLX4_PMD,$(DPDK_MLX4_PMD))
Damjan Marion696f1ad2016-12-23 22:42:41 +0100143 $(call set,RTE_LIBRTE_MLX5_PMD,$(DPDK_MLX5_PMD))
Ed Warnickecb9cada2015-12-08 15:45:58 -0700144 @# not needed
Ed Warnickecb9cada2015-12-08 15:45:58 -0700145 $(call set,RTE_LIBRTE_TIMER,n)
146 $(call set,RTE_LIBRTE_CFGFILE,n)
147 $(call set,RTE_LIBRTE_LPM,n)
148 $(call set,RTE_LIBRTE_ACL,n)
149 $(call set,RTE_LIBRTE_POWER,n)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700150 $(call set,RTE_LIBRTE_DISTRIBUTOR,n)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700151 $(call set,RTE_LIBRTE_PORT,n)
152 $(call set,RTE_LIBRTE_TABLE,n)
153 $(call set,RTE_LIBRTE_PIPELINE,n)
154 $(call set,RTE_KNI_KMOD,n)
Damjan Marion68fda1c2017-01-01 16:53:22 +0100155 $(call set,RTE_EAL_IGB_UIO,n)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700156 @rm -f .config.ok
157
158$(CURDIR)/$(DPDK_TARBALL):
Ed Warnickecb9cada2015-12-08 15:45:58 -0700159 @if [ -e $(DPDK_DOWNLOAD_DIR)/$(DPDK_TARBALL) ] ; \
160 then cp $(DPDK_DOWNLOAD_DIR)/$(DPDK_TARBALL) $(CURDIR) ; \
161 else curl -o $(CURDIR)/$(DPDK_TARBALL) -LO $(DPDK_TAR_URL) ; \
162 fi
163 @rm -f $(B)/.download.ok
164
Sergio Gonzalez Monroyfa80f2e2017-03-07 14:39:29 +0000165$(CURDIR)/$(AESNIMB_LIB_TARBALL):
166 @if [ -e $(DPDK_DOWNLOAD_DIR)/$(AESNIMB_LIB_TARBALL) ] ; \
167 then cp $(DPDK_DOWNLOAD_DIR)/$(AESNIMB_LIB_TARBALL) $(CURDIR) ; \
168 else curl -o $@ -LO $(AESNIMB_LIB_TARBALL_URL) ; \
169 fi
170
171$(CURDIR)/$(ISA_L_CRYPTO_LIB_TARBALL):
172 @if [ -e $(DPDK_DOWNLOAD_DIR)/$(ISA_L_CRYPTO_LIB_TARBALL) ] ; \
173 then cp $(DPDK_DOWNLOAD_DIR)/$(ISA_L_CRYPTO_LIB_TARBALL) $(CURDIR) ; \
174 else curl -o $@ -LO $(ISA_L_CRYPTO_LIB_TARBALL_URL) ; \
175 fi
176
177DPDK_DOWNLOADS = $(CURDIR)/$(DPDK_TARBALL)
178ifeq ($(DPDK_CRYPTO_SW_PMD),y)
179DPDK_DOWNLOADS += $(CURDIR)/$(AESNIMB_LIB_TARBALL)
180DPDK_DOWNLOADS += $(CURDIR)/$(ISA_L_CRYPTO_LIB_TARBALL)
181endif
182
183$(B)/.download.ok: $(DPDK_DOWNLOADS)
Damjan Marion2ce7f982017-01-09 20:24:50 +0100184 @mkdir -p $(B)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700185 @openssl md5 $< | cut -f 2 -d " " - > $(B)/$(DPDK_TARBALL).md5sum
Damjan Marionbce6b6a2015-12-16 04:27:37 +0100186 @([ "$$(<$(B)/$(DPDK_TARBALL).md5sum)" = "$(DPDK_$(DPDK_VERSION)_TARBALL_MD5_CKSUM)" ] || \
Ed Warnickecb9cada2015-12-08 15:45:58 -0700187 ( echo "Bad Checksum! Please remove $< and retry" && \
188 rm $(B)/$(DPDK_TARBALL).md5sum && false ))
189 @touch $@
190
191.PHONY: download
192download: $(B)/.download.ok
193
194$(B)/.extract.ok: $(B)/.download.ok
195 @echo --- extracting $(DPDK_TARBALL) ---
Thomas Monjalon96e10b52016-06-02 14:52:32 +0200196 @tar --directory $(B) --extract --file $(CURDIR)/$(DPDK_TARBALL)
Radu Nicolau6ca42d32017-02-16 13:54:42 +0000197ifeq ($(DPDK_CRYPTO_SW_PMD),y)
198 @echo --- extracting $(AESNIMB_LIB_TARBALL) ---
199 @tar --directory $(B) --extract --file $(CURDIR)/$(AESNIMB_LIB_TARBALL)
Radu Nicolau2e3677b2017-02-20 12:27:02 +0000200 @echo --- extracting $(ISA_L_CRYPTO_LIB_TARBALL) ---
201 @tar --directory $(B) --extract --file $(CURDIR)/$(ISA_L_CRYPTO_LIB_TARBALL)
Radu Nicolau6ca42d32017-02-16 13:54:42 +0000202endif
Ed Warnickecb9cada2015-12-08 15:45:58 -0700203 @touch $@
204
205.PHONY: extract
206extract: $(B)/.extract.ok
207
208$(B)/.patch.ok: $(B)/.extract.ok
Damjan Marion0df78dd2016-03-29 22:37:02 +0200209ifneq ($(wildcard $(CURDIR)/dpdk-$(DPDK_VERSION)_patches/*.patch),)
Ed Warnickecb9cada2015-12-08 15:45:58 -0700210 @echo --- patching ---
Damjan Marion2ce7f982017-01-09 20:24:50 +0100211 @for f in $(CURDIR)/dpdk-$(DPDK_VERSION)_patches/*.patch ; do \
Ed Warnickecb9cada2015-12-08 15:45:58 -0700212 echo Applying patch: $$(basename $$f) ; \
213 patch -p1 -d $(DPDK_SOURCE) < $$f ; \
214 done
Damjan Marion0df78dd2016-03-29 22:37:02 +0200215endif
Ed Warnickecb9cada2015-12-08 15:45:58 -0700216 @touch $@
217
218.PHONY: patch
219patch: $(B)/.patch.ok
220
221$(B)/.config.ok: $(B)/.patch.ok $(B)/custom-config
222 @make $(DPDK_MAKE_ARGS) config
223 @touch $@
224
225.PHONY: config
226config: $(B)/.config.ok
227
228$(B)/.build.ok: $(DPDK_SOURCE_FILES)
229 @if [ ! -e $(B)/.config.ok ] ; then echo 'Please run "make config" first' && false ; fi
Radu Nicolau6ca42d32017-02-16 13:54:42 +0000230ifeq ($(DPDK_CRYPTO_SW_PMD),y)
Sergio Gonzalez Monroyfa80f2e2017-03-07 14:39:29 +0000231 # Build IPsec_MB library
232 mkdir -p $(I)/lib/
233 make -C $(AESNIMB_LIB_SOURCE) -j NO_GCM=y
234 cp $(AESNIMB_LIB_SOURCE)/libIPSec_MB.a $(I)/lib/
235 # Build ISA-L Crypto library
236 cd $(ISA_L_CRYPTO_LIB_SOURCE) && ./autogen.sh && ./configure --prefix=$(I)
237 make -C $(ISA_L_CRYPTO_LIB_SOURCE) -j install
Radu Nicolau6ca42d32017-02-16 13:54:42 +0000238endif
Sergio Gonzalez Monroyfa80f2e2017-03-07 14:39:29 +0000239 @make $(DPDK_MAKE_ARGS) install
Ed Warnickecb9cada2015-12-08 15:45:58 -0700240 @touch $@
241
242.PHONY: build
243build: $(B)/.build.ok
244
Damjan Marion2ce7f982017-01-09 20:24:50 +0100245.PHONY: install
246install: $(B)/.build.ok
247
Ed Warnickecb9cada2015-12-08 15:45:58 -0700248.PHONY: clean
249clean:
250 @rm -rf $(B) $(I)
251
Damjan Marion2ce7f982017-01-09 20:24:50 +0100252##############################################################################
253# .deb packaging
254##############################################################################
255
256DEB_ARCH=$(shell dpkg --print-architecture 2> /dev/null)
257DEV_DEB=vpp-dpdk-dev_$(DPDK_VERSION)-$(PKG_SUFFIX)_$(DEB_ARCH).deb
258INSTALLED_DEB_VER=$(shell dpkg-query --showformat='$${Version}' --show vpp-dpdk-dev 2> /dev/null)
259
260.PHONY: build-deb install-deb check-deb
261
262deb/debian/changelog: Makefile
263 @echo "vpp-dpdk ($(DPDK_VERSION)-$(PKG_SUFFIX)) unstable; urgency=low" > $@
264 @echo "" >> $@
265 @echo " * DPDK Release $(DPDK_VERSION)" >> $@
266 @echo "" >> $@
267 @echo " -- VPP Dev <vpp-dev@lists.fd.io> $(shell date -R)" >> $@
268
269$(DEV_DEB): deb/debian/changelog
270 @cd deb && dpkg-buildpackage -b -uc -us
271 git clean -fdx deb
272
273build-deb: $(DEV_DEB)
274
275install-deb:
276ifneq ($(INSTALLED_DEB_VER),$(DPDK_VERSION)-$(PKG_SUFFIX))
277 @make $(DEV_DEB)
278 @sudo dpkg -i $(DEV_DEB)
279else
280 @echo "=========================================================="
281 @echo " Up-to-date DPDK package already installed"
282 @echo "=========================================================="
283endif
284
285check-deb:
286ifneq ($(INSTALLED_DEB_VER),$(DPDK_VERSION)-$(PKG_SUFFIX))
287 @echo "=========================================================="
288 @echo " Outdated DPDK package detected:"
289 @echo " Installed: vpp-dpdk-dev $(INSTALLED_DEB_VER)"
290 @echo " Current: vpp-dpdk-dev $(DPDK_VERSION)-$(PKG_SUFFIX)"
291 @echo ""
292 @echo " Please upgrade by invoking 'make dpdk-install-dev'"
293 @echo " from the top level directory."
294 @echo "=========================================================="
295endif
296
297##############################################################################
298# .rpm packaging
299##############################################################################
300
301RPM_ARCH=$(shell rpm --eval "%{_arch}" 2> /dev/null)
302DEV_RPM=vpp-dpdk-devel-$(DPDK_VERSION)-$(PKG_SUFFIX).$(RPM_ARCH).rpm
Damjan Marion248968b2017-01-20 23:59:28 +0100303INSTALLED_RPM_VER=$(shell rpm -q --queryformat '%{VERSION}-%{RELEASE}' vpp-dpdk-devel 2> /dev/null | grep -v "not inst")
Damjan Marion2ce7f982017-01-09 20:24:50 +0100304
305.PHONY: build-rpm install-rpm check-rpm
306
307$(DEV_RPM): Makefile rpm/vpp-dpdk.spec
308 @rpmbuild -bb \
309 --define "_topdir $(CURDIR)/rpm" \
310 --define "_version $(DPDK_VERSION)" \
311 --define "_release $(PKG_SUFFIX)" \
312 $(CURDIR)/rpm/vpp-dpdk.spec
313 mv rpm/RPMS/$(RPM_ARCH)/*.rpm .
314 git clean -fdx rpm
315
316build-rpm: $(DEV_RPM)
317
318install-rpm:
319ifneq ($(INSTALLED_RPM_VER),$(DPDK_VERSION)-$(PKG_SUFFIX))
320 @make $(DEV_RPM)
321 sudo rpm -Uih $(DEV_RPM)
322else
323 @echo "=========================================================="
324 @echo " Up-to-date DPDK package already installed"
325 @echo "=========================================================="
326endif
327
328check-rpm:
329ifneq ($(INSTALLED_RPM_VER),$(DPDK_VERSION)-$(PKG_SUFFIX))
330 @echo "=========================================================="
331 @echo " Outdated DPDK package detected:"
332 @echo " Installed: vpp-dpdk-devel $(INSTALLED_RPM_VER)"
333 @echo " Current: vpp-dpdk-devel $(DPDK_VERSION)-$(PKG_SUFFIX)"
334 @echo ""
335 @echo " Please upgrade by invoking 'make dpdk-install-dev'"
336 @echo " from the top level directory."
337 @echo "=========================================================="
338endif
339
340##############################################################################
341# ebuild support
342##############################################################################
343
344.PHONY: ebuild-build ebuild-install
345
346ebuild-build:
347ifeq ($(INSTALLED_DEB_VER)$(INSTALLED_RPM_VER),)
348 @echo "=========================================================="
349 @echo "Building DPDK from source. Consider installing development"
350 @echo "package by invoking 'make dpdk-install-dev' from the"
351 @echo "top level directory"
352 @echo "=========================================================="
353 make config
354else
355ifneq ($(INSTALLED_DEB_VER),)
356 make check-deb
357endif
358ifneq ($(INSTALLED_RPM_VER),)
359 make check-rpm
360endif
361endif
362
363ebuild-install:
364ifeq ($(INSTALLED_DEB_VER)$(INSTALLED_RPM_VER),)
365 make install
366endif