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
app: simplify makefiles
[dpdk.git]
/
app
/
test-acl
/
Makefile
diff --git
a/app/test-acl/Makefile
b/app/test-acl/Makefile
index
00fa3b6
..
43dfdcb
100644
(file)
--- a/
app/test-acl/Makefile
+++ b/
app/test-acl/Makefile
@@
-31,15
+31,18
@@
include $(RTE_SDK)/mk/rte.vars.mk
include $(RTE_SDK)/mk/rte.vars.mk
+ifeq ($(CONFIG_RTE_LIBRTE_ACL),y)
+
APP = testacl
CFLAGS += $(WERROR_FLAGS)
# all source are stored in SRCS-y
APP = testacl
CFLAGS += $(WERROR_FLAGS)
# all source are stored in SRCS-y
-SRCS-
$(CONFIG_RTE_LIBRTE_ACL)
:= main.c
+SRCS-
y
:= main.c
# this application needs libraries first
# this application needs libraries first
-DEPDIRS-$(CONFIG_RTE_LIBRTE_ACL) += lib
-
+DEPDIRS-y += lib
include $(RTE_SDK)/mk/rte.app.mk
include $(RTE_SDK)/mk/rte.app.mk
+
+endif