xref: /spdk/test/env/Makefile (revision 488570ebd418ba07c9e69e65106dcc964f3bb41b)
1#  SPDX-License-Identifier: BSD-3-Clause
2#  Copyright (c) Intel Corporation.
3#  All rights reserved.
4#
5
6SPDK_ROOT_DIR := $(abspath $(CURDIR)/../..)
7include $(SPDK_ROOT_DIR)/mk/spdk.common.mk
8
9ENV_NAME := $(notdir $(CONFIG_ENV))
10
11DIRS-y = mem_callbacks vtophys
12
13ifeq ($(ENV_NAME),env_dpdk)
14DIRS-y += env_dpdk_post_init memory pci
15endif
16
17.PHONY: all clean $(DIRS-y)
18
19all: $(DIRS-y)
20clean: $(DIRS-y)
21
22include $(SPDK_ROOT_DIR)/mk/spdk.subdirs.mk
23