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