From: Emeric Dupont Date: Mon, 3 Dec 2018 11:13:06 +0000 (+0100) Subject: iproute2: Installation errors without libmnl X-Git-Tag: v4.20.0~33 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7a7e4501732bcdb6004271f12beda358ab4f463;p=thirdparty%2Fiproute2.git iproute2: Installation errors without libmnl 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. Signed-off-by: Emeric Dupont Signed-off-by: Stephen Hemminger --- diff --git a/devlink/Makefile b/devlink/Makefile index 040b942e8..7da7d1fa1 100644 --- a/devlink/Makefile +++ b/devlink/Makefile @@ -16,7 +16,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 819fcbe37..0498994fc 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 fdb18d39b..a10debe08 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)