git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/spinlock: use compile atomics for lcores sync
[dpdk.git]
/
examples
/
multi_process
/
client_server_mp
/
Makefile
diff --git
a/examples/multi_process/client_server_mp/Makefile
b/examples/multi_process/client_server_mp/Makefile
index
fe7a8af
..
f4cab63
100644
(file)
--- a/
examples/multi_process/client_server_mp/Makefile
+++ b/
examples/multi_process/client_server_mp/Makefile
@@
-1,16
+1,10
@@
# SPDX-License-Identifier: BSD-3-Clause
# SPDX-License-Identifier: BSD-3-Clause
-# Copyright(c) 20
10-2014
Intel Corporation
+# Copyright(c) 20
20
Intel Corporation
-ifeq ($(RTE_SDK),)
-$(error "Please define RTE_SDK environment variable")
-endif
+subdirs := mp_client mp_server
-# Default target, detect a build directory, by looking for a path with a .config
-
RTE_TARGET ?= $(notdir $(abspath $(dir $(firstword $(wildcard $(RTE_SDK)/*/.config))))
)
+.PHONY: all static shared clean $(subdirs)
+
all static shared clean: $(subdirs
)
-include $(RTE_SDK)/mk/rte.vars.mk
-
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += mp_client
-DIRS-$(CONFIG_RTE_EXEC_ENV_LINUX) += mp_server
-
-include $(RTE_SDK)/mk/rte.extsubdir.mk
+$(subdirs):
+ $(MAKE) -C $@ $(MAKECMDGOALS)