[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181202195630.2129-1-emeric.dupont@zii.aero>
Date: Sun, 2 Dec 2018 19:57:00 +0000
From: Émeric Dupont <emeric.dupont@....aero>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
CC: Émeric Dupont <emeric.dupont@....aero>
Subject: [PATCH iproute2] iproute2: Installation errors without libnml
When performing make install in iproute2 (current git master),
if $(HAVE_MNL) is not selected, some Makefiles try to call
install with an empty target, which causes a non-critical make error.
---
devlink/Makefile | 4 +++-
rdma/Makefile | 4 +++-
tipc/Makefile | 4 +++-
3 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/devlink/Makefile b/devlink/Makefile
index ace34c7b..9cc4888d 100644
--- a/devlink/Makefile
+++ b/devlink/Makefile
@@ -19,7 +19,9 @@ devlink: $(DEVLINKOBJ)
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
install: all
-install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
+for i in $(TARGETS); \
+do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
+done
clean:
rm -f $(DEVLINKOBJ) $(TARGETS)
diff --git a/rdma/Makefile b/rdma/Makefile
index 819fcbe3..0498994f 100644
--- a/rdma/Makefile
+++ b/rdma/Makefile
@@ -17,7 +17,9 @@ rdma:$(RDMA_OBJ) $(LIBS)
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
install: all
-install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
+for i in $(TARGETS); \
+do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
+done
clean:
rm -f $(RDMA_OBJ) $(TARGETS)
diff --git a/tipc/Makefile b/tipc/Makefile
index fdb18d39..a10debe0 100644
--- a/tipc/Makefile
+++ b/tipc/Makefile
@@ -22,7 +22,9 @@ tipc: $(TIPCOBJ)
$(QUIET_LINK)$(CC) $^ $(LDFLAGS) $(LDLIBS) -o $@
install: all
-install -m 0755 $(TARGETS) $(DESTDIR)$(SBINDIR)
+for i in $(TARGETS); \
+do install -m 0755 $$i $(DESTDIR)$(SBINDIR); \
+done
clean:
rm -f $(TIPCOBJ) $(TARGETS)
--
2.19.2
TriaGnoSys GmbH, Registergericht: München HRB 141647, Vat.: DE 813396184 Geschäftsführer: Núria Riera Díaz, Peter Lewalter
________________________________
This email and any files transmitted with it are confidential & proprietary to Zodiac Inflight Innovations. This information is intended solely for the use of the individual or entity to which it is addressed. Access or transmittal of the information contained in this e-mail, in full or in part, to any other organization or persons is not authorized.
Powered by blists - more mailing lists