* [PATCH iproute2] iproute2: Installation errors without libnml
@ 2018-12-02 19:57 Émeric Dupont
2018-12-03 4:49 ` Florian Fainelli
0 siblings, 1 reply; 4+ messages in thread
From: Émeric Dupont @ 2018-12-02 19:57 UTC (permalink / raw)
To: netdev@vger.kernel.org; +Cc: Émeric Dupont
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)
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH iproute2] iproute2: Installation errors without libnml
2018-12-02 19:57 Émeric Dupont
@ 2018-12-03 4:49 ` Florian Fainelli
0 siblings, 0 replies; 4+ messages in thread
From: Florian Fainelli @ 2018-12-03 4:49 UTC (permalink / raw)
To: Émeric Dupont, netdev@vger.kernel.org
Hi Émeric,
On December 2, 2018 11:57:00 AM PST, "Émeric Dupont" <emeric.dupont@zii.aero> wrote:
>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.
You need to add a Signed-off-by tag here as per the iproute2/Linux certificate of origin.
[Snip]
>
>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.
This is incompatible with you sending patches for open source software, can you work with your IT to either remove that footer by BCC/CC'ing a specific email address or use a personal email just to get the patch out?
--
Florian
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH iproute2] iproute2: Installation errors without libnml
@ 2018-12-03 10:18 Emeric Dupont
2018-12-03 10:37 ` Michal Kubecek
0 siblings, 1 reply; 4+ messages in thread
From: Emeric Dupont @ 2018-12-03 10:18 UTC (permalink / raw)
To: netdev; +Cc: Emeric Dupont
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 <emeric.dupont@zii.aero>
---
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
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH iproute2] iproute2: Installation errors without libnml
2018-12-03 10:18 [PATCH iproute2] iproute2: Installation errors without libnml Emeric Dupont
@ 2018-12-03 10:37 ` Michal Kubecek
0 siblings, 0 replies; 4+ messages in thread
From: Michal Kubecek @ 2018-12-03 10:37 UTC (permalink / raw)
To: Emeric Dupont; +Cc: netdev
On Mon, Dec 03, 2018 at 11:18:14AM +0100, Emeric Dupont wrote:
> 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 <emeric.dupont@zii.aero>
> ---
You have a typo in patch subject (should be "libmnl").
Michal Kubecek
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2018-12-03 10:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-03 10:18 [PATCH iproute2] iproute2: Installation errors without libnml Emeric Dupont
2018-12-03 10:37 ` Michal Kubecek
-- strict thread matches above, loose matches on Subject: below --
2018-12-02 19:57 Émeric Dupont
2018-12-03 4:49 ` Florian Fainelli
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).