From patchwork Mon Dec 3 10:18:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?=C3=89meric_Dupont?= X-Patchwork-Id: 1006785 X-Patchwork-Delegate: shemminger@vyatta.com Return-Path: X-Original-To: patchwork-incoming-netdev@ozlabs.org Delivered-To: patchwork-incoming-netdev@ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=netdev-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=zii.aero Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 437h2y3YP3z9sBh for ; Mon, 3 Dec 2018 21:25:30 +1100 (AEDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726319AbeLCKZy (ORCPT ); Mon, 3 Dec 2018 05:25:54 -0500 Received: from goldenrod.birch.relay.mailchannels.net ([23.83.209.74]:22087 "EHLO goldenrod.birch.relay.mailchannels.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726045AbeLCKZy (ORCPT ); Mon, 3 Dec 2018 05:25:54 -0500 X-Greylist: delayed 406 seconds by postgrey-1.27 at vger.kernel.org; Mon, 03 Dec 2018 05:25:53 EST X-Sender-Id: haisoft|x-authsender|emeric.dupont@agol.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 4B84B1240AB; Mon, 3 Dec 2018 10:18:43 +0000 (UTC) Received: from srv15.haisoft.net (unknown [100.96.33.121]) (Authenticated sender: HaiSoft) by relay.mailchannels.net (Postfix) with ESMTPA id 8B136122C74; Mon, 3 Dec 2018 10:18:42 +0000 (UTC) X-Sender-Id: haisoft|x-authsender|emeric.dupont@agol.org Received: from srv15.haisoft.net (srv15.haisoft.net [154.41.66.15]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Mon, 03 Dec 2018 10:18:43 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: haisoft|x-authsender|emeric.dupont@agol.org X-MailChannels-Auth-Id: HaiSoft X-Keen-Thoughtful: 02a6fbb126d26ea0_1543832323103_3273243945 X-MC-Loop-Signature: 1543832323103:3886165287 X-MC-Ingress-Time: 1543832323103 Received: from edupont.local.triagnosys.com (unknown [217.5.163.10]) (Authenticated sender: emeric.dupont@agol.org) by srv15.haisoft.net (Postfix) with ESMTPA id B4B03E609F9; Mon, 3 Dec 2018 11:18:39 +0100 (CET) Authentication-Results: srv15.haisoft.net; spf=pass (sender IP is 217.5.163.10) smtp.mailfrom=emeric.dupont@zii.aero smtp.helo=edupont.local.triagnosys.com Received-SPF: pass (srv15.haisoft.net: connection is authenticated) From: Emeric Dupont To: netdev@vger.kernel.org Cc: Emeric Dupont Subject: [PATCH iproute2] iproute2: Installation errors without libnml Date: Mon, 3 Dec 2018 11:18:14 +0100 Message-Id: <20181203101814.4713-1-emeric.dupont@zii.aero> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-PPP-Message-ID: <20181203101840.14708.76235@srv15.haisoft.net> X-PPP-Vhost: agol.org Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org 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 --- 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)