Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 1 | # Copyright (c) 2018 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 | DPDK_PKTMBUF_HEADROOM ?= 128 |
| 15 | DPDK_CACHE_LINE_SIZE ?= 64 |
| 16 | DPDK_DOWNLOAD_DIR ?= $(DL_CACHE_DIR) |
| 17 | DPDK_DEBUG ?= n |
Lijian.Zhang | 49c1bc8 | 2019-02-27 18:17:34 +0800 | [diff] [blame] | 18 | DPDK_AARCH64_GENERIC ?= y |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 19 | DPDK_MLX4_PMD ?= n |
| 20 | DPDK_MLX5_PMD ?= n |
| 21 | DPDK_TAP_PMD ?= n |
| 22 | DPDK_FAILSAFE_PMD ?= n |
| 23 | |
Damjan Marion | 1a6ece3 | 2019-02-02 16:28:16 +0100 | [diff] [blame] | 24 | DPDK_VERSION ?= 19.02 |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 25 | DPDK_BASE_URL ?= http://fast.dpdk.org/rel |
| 26 | DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.xz |
| 27 | DPDK_TAR_URL := $(DPDK_BASE_URL)/$(DPDK_TARBALL) |
Damjan Marion | 14033aa | 2018-11-27 12:18:26 +0100 | [diff] [blame] | 28 | DPDK_18.11_TARBALL_MD5_CKSUM := 04b86f4a77f4f81a7fbd26467dd2ea9f |
Damjan Marion | 1a6ece3 | 2019-02-02 16:28:16 +0100 | [diff] [blame] | 29 | DPDK_19.02_TARBALL_MD5_CKSUM := 23944a2cdee061aa4bd72ebe7d836db0 |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 30 | MACHINE=$(shell uname -m) |
| 31 | |
| 32 | # replace dot with space, and if 3rd word exists we deal with stable dpdk rel |
| 33 | ifeq ($(word 3,$(subst ., ,$(DPDK_VERSION))),) |
| 34 | DPDK_SOURCE := $(B)/dpdk-$(DPDK_VERSION) |
| 35 | else |
| 36 | DPDK_SOURCE := $(B)/dpdk-stable-$(DPDK_VERSION) |
| 37 | endif |
| 38 | |
| 39 | ifeq ($(MACHINE),$(filter $(MACHINE),x86_64)) |
| 40 | AESNI ?= y |
| 41 | DPDK_BUILD_DEPS := ipsec-mb-install |
| 42 | else |
| 43 | AESNI ?= n |
| 44 | endif |
| 45 | |
| 46 | ifneq (,$(findstring clang,$(CC))) |
| 47 | DPDK_CC=clang |
| 48 | else ifneq (,$(findstring icc,$(CC))) |
| 49 | DPDK_CC=icc |
| 50 | else |
| 51 | DPDK_CC=gcc |
| 52 | endif |
| 53 | |
| 54 | ############################################################################## |
| 55 | # Intel x86 |
| 56 | ############################################################################## |
| 57 | ifeq ($(MACHINE),$(filter $(MACHINE),x86_64 i686)) |
| 58 | DPDK_TARGET ?= $(MACHINE)-native-linuxapp-$(DPDK_CC) |
| 59 | DPDK_MACHINE ?= nhm |
| 60 | DPDK_TUNE ?= core-avx2 |
| 61 | |
| 62 | ############################################################################## |
| 63 | # ARM64 |
| 64 | ############################################################################## |
| 65 | else ifeq ($(MACHINE),aarch64) |
| 66 | CROSS := |
| 67 | export CROSS |
| 68 | DPDK_TARGET ?= arm64-armv8a-linuxapp-$(DPDK_CC) |
| 69 | DPDK_MACHINE ?= armv8a |
| 70 | DPDK_TUNE ?= generic |
Lijian.Zhang | 49c1bc8 | 2019-02-27 18:17:34 +0800 | [diff] [blame] | 71 | ifeq (y, $(DPDK_AARCH64_GENERIC)) |
| 72 | DPDK_CACHE_LINE_SIZE := 128 |
| 73 | # assign aarch64 variant specific options |
| 74 | else |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 75 | CPU_IMP_ARM = 0x41 |
| 76 | CPU_IMP_CAVIUM = 0x43 |
| 77 | |
| 78 | CPU_PART_ARM_CORTEX_A53 = 0xd03 |
| 79 | CPU_PART_ARM_CORTEX_A57 = 0xd07 |
| 80 | CPU_PART_ARM_CORTEX_A72 = 0xd08 |
| 81 | CPU_PART_ARM_CORTEX_A73 = 0xd09 |
| 82 | |
| 83 | CPU_PART_CAVIUM_THUNDERX = 0x0a1 |
| 84 | CPU_PART_CAVIUM_THUNDERX_81XX = 0x0a2 |
| 85 | CPU_PART_CAVIUM_THUNDERX_83XX = 0x0a3 |
| 86 | |
| 87 | MIDR_IMPLEMENTER=$(shell awk '/implementer/ {print $$4;exit}' /proc/cpuinfo) |
| 88 | MIDR_PARTNUM=$(shell awk '/part/ {print $$4;exit}' /proc/cpuinfo) |
| 89 | |
| 90 | ifeq ($(MIDR_IMPLEMENTER),$(CPU_IMP_ARM)) |
| 91 | ############################################################################## |
| 92 | # Arm Cortex |
| 93 | ############################################################################## |
| 94 | CPU_PART_ARM_TUNE := $(CPU_PART_ARM_CORTEX_A53)/cortex-a53 \ |
| 95 | $(CPU_PART_ARM_CORTEX_A57)/cortex-a57 \ |
| 96 | $(CPU_PART_ARM_CORTEX_A72)/cortex-a72 \ |
| 97 | $(CPU_PART_ARM_CORTEX_A73)/cortex-a73 |
| 98 | CPU_TUNE = $(notdir $(filter $(MIDR_PARTNUM)/%,$(CPU_PART_ARM_TUNE))) |
| 99 | ifneq ($(CPU_TUNE),) |
| 100 | DPDK_TUNE = $(CPU_TUNE) |
| 101 | else |
| 102 | $(warning Unknown Arm CPU) |
| 103 | endif |
| 104 | |
| 105 | else ifeq ($(MIDR_IMPLEMENTER),$(CPU_IMP_CAVIUM)) |
| 106 | ############################################################################## |
| 107 | # Cavium ThunderX |
| 108 | ############################################################################## |
| 109 | ifneq (,$(findstring $(MIDR_PARTNUM),$(CPU_PART_CAVIUM_THUNDERX) \ |
| 110 | $(CPU_PART_CAVIUM_THUNDERX_81XX) $(CPU_PART_CAVIUM_THUNDERX_83XX))) |
| 111 | DPDK_TARGET = arm64-thunderx-linuxapp-$(DPDK_CC) |
| 112 | DPDK_MACHINE = thunderx |
| 113 | DPDK_CACHE_LINE_SIZE := 128 |
| 114 | else |
| 115 | $(warning Unknown Cavium CPU) |
| 116 | endif |
| 117 | endif |
| 118 | |
Lijian.Zhang | 49c1bc8 | 2019-02-27 18:17:34 +0800 | [diff] [blame] | 119 | # finish of assigning aarch64 variant specific options |
| 120 | endif |
| 121 | |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 122 | ############################################################################## |
| 123 | # Unknown platform |
| 124 | ############################################################################## |
| 125 | else |
| 126 | $(error Unknown platform) |
| 127 | endif |
| 128 | |
| 129 | # compiler/linker custom arguments |
| 130 | ifeq ($(DPDK_CC),clang) |
| 131 | DPDK_CPU_CFLAGS := -fPIE -fPIC |
| 132 | else |
| 133 | DPDK_CPU_CFLAGS := -pie -fPIC |
| 134 | endif |
| 135 | |
| 136 | ifeq ($(DPDK_DEBUG),n) |
| 137 | DPDK_EXTRA_CFLAGS := -g -mtune=$(DPDK_TUNE) |
| 138 | else |
| 139 | DPDK_EXTRA_CFLAGS := -g -O0 |
| 140 | endif |
| 141 | |
| 142 | # -Wimplicit-fallthrough was introduced starting from GCC 7, |
| 143 | # and it requires newer version of ccache. |
| 144 | # Disable fallthrough warning for old ccache version. |
| 145 | ifeq ($(DPDK_CC),gcc) |
| 146 | GCC_VER_V = "7.0.0" |
| 147 | CCACHE_VER_V = "3.4.1" |
| 148 | GCC_VER = $(shell gcc --version | grep ^gcc | sed 's/^.* //g') |
| 149 | CCACHE_VER = $(shell ccache --version | grep ^ccache | sed 's/^.* //g') |
| 150 | ifeq ($(shell expr "$(GCC_VER)" ">=" "$(GCC_VER_V)"),1) |
| 151 | ifeq ($(shell expr "$(CCACHE_VER)" "<" "$(CCACHE_VER_V)"),1) |
| 152 | DPDK_EXTRA_CFLAGS += -Wimplicit-fallthrough=0 |
| 153 | endif |
| 154 | endif |
| 155 | endif |
| 156 | |
| 157 | DPDK_EXTRA_CFLAGS += -L$(I)/lib -I$(I)/include |
| 158 | |
| 159 | # assemble DPDK make arguments |
| 160 | DPDK_MAKE_ARGS := -C $(DPDK_SOURCE) -j $(JOBS) \ |
| 161 | T=$(DPDK_TARGET) \ |
| 162 | RTE_CONFIG_TEMPLATE=../custom-config \ |
| 163 | EXTRA_CFLAGS="$(DPDK_EXTRA_CFLAGS)" \ |
| 164 | EXTRA_LDFLAGS="$(DPDK_EXTRA_LDFLAGS)" \ |
| 165 | CPU_CFLAGS="$(DPDK_CPU_CFLAGS)" \ |
| 166 | DESTDIR=$(I) \ |
| 167 | $(DPDK_MAKE_EXTRA_ARGS) |
| 168 | |
| 169 | define set |
| 170 | @if grep -q CONFIG_$1 $@ ; \ |
| 171 | then sed -i -e 's/.*\(CONFIG_$1=\).*/\1$2/' $@ ; \ |
| 172 | else echo CONFIG_$1=$2 >> $@ ; \ |
| 173 | fi |
| 174 | endef |
| 175 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 176 | $(B)/custom-config: $(B)/.dpdk-patch.ok Makefile |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 177 | @echo --- generating custom config from $(DPDK_SOURCE)/config/defconfig_$(DPDK_TARGET) --- |
| 178 | @cpp -undef -ffreestanding -x assembler-with-cpp $(DPDK_SOURCE)/config/defconfig_$(DPDK_TARGET) $@ |
| 179 | $(call set,RTE_MACHINE,$(DPDK_MACHINE)) |
| 180 | @# modify options |
| 181 | $(call set,RTE_MAX_LCORE,256) |
| 182 | $(call set,RTE_PKTMBUF_HEADROOM,$(DPDK_PKTMBUF_HEADROOM)) |
| 183 | $(call set,RTE_CACHE_LINE_SIZE,$(DPDK_CACHE_LINE_SIZE)) |
| 184 | $(call set,RTE_LIBEAL_USE_HPET,y) |
| 185 | $(call set,RTE_BUILD_COMBINE_LIBS,y) |
| 186 | $(call set,RTE_PCI_CONFIG,y) |
| 187 | $(call set,RTE_PCI_EXTENDED_TAG,"on") |
| 188 | $(call set,RTE_PCI_MAX_READ_REQUEST_SIZE,4096) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 189 | $(call set,RTE_LIBRTE_PMD_BOND,y) |
| 190 | $(call set,RTE_LIBRTE_IP_FRAG,y) |
| 191 | $(call set,RTE_LIBRTE_PMD_QAT,y) |
Radu Nicolau | 8b9525c | 2018-10-01 15:57:31 +0100 | [diff] [blame] | 192 | $(call set,RTE_LIBRTE_PMD_QAT_SYM,y) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 193 | $(call set,RTE_LIBRTE_PMD_AESNI_MB,$(AESNI)) |
| 194 | $(call set,RTE_LIBRTE_PMD_AESNI_GCM,$(AESNI)) |
| 195 | $(call set,RTE_LIBRTE_MLX4_PMD,$(DPDK_MLX4_PMD)) |
| 196 | $(call set,RTE_LIBRTE_MLX5_PMD,$(DPDK_MLX5_PMD)) |
| 197 | $(call set,RTE_LIBRTE_PMD_SOFTNIC,n) |
Benoît Ganne | f3262a2 | 2019-04-08 13:45:33 +0200 | [diff] [blame] | 198 | $(call set,RTE_IBVERBS_LINK_DLOPEN,y) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 199 | $(call set,RTE_LIBRTE_PMD_TAP,$(DPDK_TAP_PMD)) |
Matthew Smith | 2130284 | 2018-10-29 16:35:30 -0500 | [diff] [blame] | 200 | $(call set,RTE_LIBRTE_GSO,$(DPDK_TAP_PMD)) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 201 | $(call set,RTE_LIBRTE_PMD_FAILSAFE,$(DPDK_FAILSAFE_PMD)) |
| 202 | @# not needed |
Stephen Hemminger | a35fc46 | 2018-10-23 16:15:58 -0700 | [diff] [blame] | 203 | $(call set,RTE_ETHDEV_RXTX_CALLBACKS,n) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 204 | $(call set,RTE_LIBRTE_CFGFILE,n) |
| 205 | $(call set,RTE_LIBRTE_LPM,n) |
| 206 | $(call set,RTE_LIBRTE_ACL,n) |
Stephen Hemminger | 939ce11 | 2018-10-19 12:29:57 -0700 | [diff] [blame] | 207 | $(call set,RTE_LIBRTE_JOBSTATS,n) |
| 208 | $(call set,RTE_LIBRTE_EFD,n) |
| 209 | $(call set,RTE_LIBRTE_MEMBER,n) |
| 210 | $(call set,RTE_LIBRTE_BITRATE,n) |
| 211 | $(call set,RTE_LIBRTE_LATENCY_STATS,n) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 212 | $(call set,RTE_LIBRTE_POWER,n) |
| 213 | $(call set,RTE_LIBRTE_DISTRIBUTOR,n) |
| 214 | $(call set,RTE_LIBRTE_PORT,n) |
| 215 | $(call set,RTE_LIBRTE_TABLE,n) |
| 216 | $(call set,RTE_LIBRTE_PIPELINE,n) |
Stephen Hemminger | 939ce11 | 2018-10-19 12:29:57 -0700 | [diff] [blame] | 217 | $(call set,RTE_LIBRTE_PMD_SOFTNIC,n) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 218 | $(call set,RTE_LIBRTE_FLOW_CLASSIFY,n) |
Stephen Hemminger | 939ce11 | 2018-10-19 12:29:57 -0700 | [diff] [blame] | 219 | $(call set,RTE_LIBRTE_ACL,n) |
| 220 | $(call set,RTE_LIBRTE_GRO,n) |
Stephen Hemminger | 939ce11 | 2018-10-19 12:29:57 -0700 | [diff] [blame] | 221 | $(call set,RTE_LIBRTE_KNI,n) |
| 222 | $(call set,RTE_LIBRTE_BPF,n) |
| 223 | $(call set,RTE_LIBRTE_RAWDEV,n) |
| 224 | $(call set,RTE_LIBRTE_PMD_IFPGA_RAWDEV,n) |
| 225 | $(call set,RTE_LIBRTE_IFPGA_BUS,n) |
| 226 | $(call set,RTE_LIBRTE_BBDEV,n) |
| 227 | $(call set,RTE_LIBRTE_BBDEV_NULL,n) |
| 228 | $(call set,RTE_TEST_PMD,n) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 229 | $(call set,RTE_KNI_KMOD,n) |
| 230 | $(call set,RTE_EAL_IGB_UIO,n) |
| 231 | @# currently broken in 18.02 |
| 232 | $(call set,RTE_LIBRTE_DPAA_BUS,n) |
| 233 | $(call set,RTE_LIBRTE_DPAA_MEMPOOL,n) |
| 234 | $(call set,RTE_LIBRTE_DPAA_PMD,n) |
| 235 | $(call set,RTE_LIBRTE_PMD_DPAA_SEC,n) |
| 236 | $(call set,RTE_LIBRTE_PMD_DPAA_EVENTDEV,n) |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 237 | @rm -f .dpdk-config.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 238 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 239 | DPDK_DOWNLOADS = $(CURDIR)/downloads/$(DPDK_TARBALL) |
| 240 | |
| 241 | $(DPDK_DOWNLOADS): |
| 242 | mkdir -p downloads |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 243 | @if [ -e $(DPDK_DOWNLOAD_DIR)/$(DPDK_TARBALL) ] ; \ |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 244 | then cp $(DPDK_DOWNLOAD_DIR)/$(DPDK_TARBALL) $@ ; \ |
| 245 | else curl -o $@ -LO $(DPDK_TAR_URL) ; \ |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 246 | fi |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 247 | @rm -f $(B)/.dpdk-download.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 248 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 249 | $(B)/.dpdk-download.ok: $(DPDK_DOWNLOADS) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 250 | @mkdir -p $(B) |
| 251 | @openssl md5 $< | cut -f 2 -d " " - > $(B)/$(DPDK_TARBALL).md5sum |
| 252 | @([ "$$(<$(B)/$(DPDK_TARBALL).md5sum)" = "$(DPDK_$(DPDK_VERSION)_TARBALL_MD5_CKSUM)" ] || \ |
| 253 | ( echo "Bad Checksum! Please remove $< and retry" && \ |
| 254 | rm $(B)/$(DPDK_TARBALL).md5sum && false )) |
| 255 | @touch $@ |
| 256 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 257 | .PHONY: dpdk-download |
| 258 | dpdk-download: $(B)/.dpdk-download.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 259 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 260 | $(B)/.dpdk-extract.ok: $(B)/.dpdk-download.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 261 | @echo --- extracting $(DPDK_TARBALL) --- |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 262 | @tar --directory $(B) --extract --file $(DPDK_DOWNLOADS) |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 263 | @touch $@ |
| 264 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 265 | .PHONY: dpdk-extract |
| 266 | dpdk-extract: $(B)/.dpdk-extract.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 267 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 268 | $(B)/.dpdk-patch.ok: $(B)/.dpdk-extract.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 269 | ifneq ($(wildcard $(CURDIR)/patches/dpdk_$(DPDK_VERSION)/*.patch),) |
| 270 | @echo --- patching --- |
| 271 | @for f in $(CURDIR)/patches/dpdk_$(DPDK_VERSION)/*.patch ; do \ |
| 272 | echo Applying patch: $$(basename $$f) ; \ |
| 273 | patch -p1 -d $(DPDK_SOURCE) < $$f ; \ |
| 274 | done |
| 275 | endif |
| 276 | @touch $@ |
| 277 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 278 | .PHONY: dpdk-patch |
| 279 | dpdk-patch: $(B)/.dpdk-patch.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 280 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 281 | $(B)/.dpdk-config.ok: $(B)/.dpdk-patch.ok $(B)/custom-config |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 282 | @make $(DPDK_MAKE_ARGS) config |
| 283 | @touch $@ |
| 284 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 285 | .PHONY: dpdk-config |
| 286 | dpdk-config: $(B)/.dpdk-config.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 287 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 288 | $(B)/.dpdk-build.ok: dpdk-config $(DPDK_BUILD_DEPS) |
| 289 | @if [ ! -e $(B)/.dpdk-config.ok ] ; then echo 'Please run "make config" first' && false ; fi |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 290 | @make $(DPDK_MAKE_ARGS) install |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 291 | @touch $@ |
| 292 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 293 | .PHONY: dpdk-build |
| 294 | dpdk-build: $(B)/.dpdk-build.ok |
Damjan Marion | 561f273 | 2018-09-21 12:27:45 +0200 | [diff] [blame] | 295 | |
Benoît Ganne | fe750c2 | 2019-03-25 11:41:34 +0100 | [diff] [blame] | 296 | .PHONY: dpdk-install |
| 297 | dpdk-install: $(B)/.dpdk-build.ok |