summaryrefslogtreecommitdiff
path: root/tipc
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2018-01-03 16:28:52 +0100
committerStephen Hemminger <stephen@networkplumber.org>2018-01-05 16:32:17 -0800
commitcfd6ccbfd0311d01a29b490c472ad79b6ad8036b (patch)
tree76f0cd196cdecebcd65c5b741444b5ac8239223c /tipc
parentc7d6cbaf8593a4b3cf674fa14b15e7c67788b675 (diff)
downloadiproute2-cfd6ccbfd0311d01a29b490c472ad79b6ad8036b.tar.gz
devlink, rdma, tipc: properly define TARGETS without HAVE_MNL
Leaving a variable with a generic name such as TARGETS undefined would lead to Make picking up its value from the environment. Avoid this by always defining TARGETS in the Makefiles. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'tipc')
-rw-r--r--tipc/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/tipc/Makefile b/tipc/Makefile
index abd33ab0..fdb18d39 100644
--- a/tipc/Makefile
+++ b/tipc/Makefile
@@ -1,6 +1,8 @@
# SPDX-License-Identifier: GPL-2.0
include ../config.mk
+TARGETS :=
+
ifeq ($(HAVE_MNL),y)
TIPCOBJ=bearer.o \
@@ -10,7 +12,7 @@ TIPCOBJ=bearer.o \
node.o socket.o \
peer.o tipc.o
-TARGETS=tipc
+TARGETS += tipc
endif