]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | # SPDX-License-Identifier: BSD-3-Clause |
2 | # Copyright(c) 2015 Intel Corporation | |
7c673cae FG |
3 | |
4 | ifeq ($(RTE_SDK),) | |
5 | $(error "Please define RTE_SDK environment variable") | |
6 | endif | |
7 | ||
9f95a23c TL |
8 | # Default target, detect a build directory, by looking for a path with a .config |
9 | RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config))))) | |
7c673cae FG |
10 | |
11 | include $(RTE_SDK)/mk/rte.vars.mk | |
12 | ||
9f95a23c TL |
13 | ifeq ($(filter y,$(CONFIG_RTE_ARCH_X86_64) $(CONFIG_RTE_ARCH_ARM64)),) |
14 | $(error This application is only supported for x86_64 and arm64 targets) | |
7c673cae FG |
15 | endif |
16 | ||
17 | DIRS-y += l3fwd-thread | |
18 | DIRS-y += pthread_shim | |
19 | ||
20 | ||
21 | include $(RTE_SDK)/mk/rte.extsubdir.mk |