1 # SPDX-License-Identifier: BSD-3-Clause
2 # Copyright(c) 2015 Intel Corporation
5 $(error "Please define RTE_SDK environment variable")
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)))))
11 include $(RTE_SDK)/mk/rte.vars.mk
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)
17 DIRS-y += l3fwd-thread
18 DIRS-y += pthread_shim
21 include $(RTE_SDK)/mk/rte.extsubdir.mk