From patchwork Mon Sep 21 23:22:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Jan Engelhardt X-Patchwork-Id: 260441 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 56157C4727C for ; Mon, 21 Sep 2020 23:28:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2A39123A1B for ; Mon, 21 Sep 2020 23:28:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728857AbgIUX2R (ORCPT ); Mon, 21 Sep 2020 19:28:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39982 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726457AbgIUX2R (ORCPT ); Mon, 21 Sep 2020 19:28:17 -0400 X-Greylist: delayed 339 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Mon, 21 Sep 2020 16:28:16 PDT Received: from a3.inai.de (a3.inai.de [IPv6:2a01:4f8:10b:45d8::f5]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EBBA0C061755 for ; Mon, 21 Sep 2020 16:28:16 -0700 (PDT) Received: by a3.inai.de (Postfix, from userid 65534) id 9588B587774C3; Tue, 22 Sep 2020 01:22:34 +0200 (CEST) Received: from a4.inai.de (a4.inai.de [IPv6:2a01:4f8:10b:45d8::f8]) by a3.inai.de (Postfix) with ESMTP id BFFC258735898; Tue, 22 Sep 2020 01:22:31 +0200 (CEST) From: Jan Engelhardt To: stephen@networkplumber.org Cc: netdev@vger.kernel.org Subject: [PATCH iproute2] build: avoid make jobserver warnings Date: Tue, 22 Sep 2020 01:22:31 +0200 Message-Id: <20200921232231.11543-1-jengelh@inai.de> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org I observe: ยป make -j8 CCOPTS=-ggdb3 lib make[1]: warning: -j8 forced in submake: resetting jobserver mode. make[1]: Nothing to be done for 'all'. ip make[1]: warning: -j8 forced in submake: resetting jobserver mode. CC ipntable.o MFLAGS is a historic variable of some kind; removing it fixes the jobserver issue. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index cadda235..5b040415 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,7 @@ LDLIBS += $(LIBNETLINK) all: config.mk @set -e; \ for i in $(SUBDIRS); \ - do echo; echo $$i; $(MAKE) $(MFLAGS) -C $$i; done + do echo; echo $$i; $(MAKE) -C $$i; done .PHONY: clean clobber distclean check cscope version @@ -101,11 +101,11 @@ version: clean: @for i in $(SUBDIRS) testsuite; \ - do $(MAKE) $(MFLAGS) -C $$i clean; done + do $(MAKE) -C $$i clean; done clobber: touch config.mk - $(MAKE) $(MFLAGS) clean + $(MAKE) clean rm -f config.mk cscope.* distclean: clobber