Received: by 10.213.65.68 with SMTP id h4csp423520imn; Tue, 13 Mar 2018 08:36:31 -0700 (PDT) X-Google-Smtp-Source: AG47ELvhHBT7I6p72ApNmkJUQmQh8SSAFZwzS5kAtkNTYeNhZlcXdGczYS3BWpe+gUuMWW+h1oxY X-Received: by 2002:a17:902:146:: with SMTP id 64-v6mr972113plb.30.1520955391434; Tue, 13 Mar 2018 08:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520955391; cv=none; d=google.com; s=arc-20160816; b=hA7C/6N/1FCEdphOJzBcaQGcRPCTpmLiep4wlcDhq8AvSGQZIwQDo3fh8GGpuKblyH Ss7iu4WP/96dAV3tLIw12vVomKDxwbmp6IkBIYHAxt2FyrdViyH/wcgX3OwTDZ7mDJoy /t89COD2bXM7qOJ3yd6A5zSvVjx8+0VOOIUoEOJ7BkL9fuG0LeubDALAml7kdm97ynSH i69CVchFUtq3Wqnz+BKu9LMfdmrMzrW74ift8VXivlW0zvBQL/Lv+HFAmK5Ch7f52lw0 /jNpDO/3dAWqx5XmO3y8Ryi2DX+/wZ28Zqfx2jKDm6BlVGEcaHcwIM0yZiVSt+HRD4g1 7VGg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=6l3xEn/oJCTACo50JzJUGPxEDszrBAynRr2yJDpR+EY=; b=dRbMb9f5NbU50BzUrsL8TAXnrXYHYf5p1bOVuNFak9oYgb4BocjaflSbeFyenQboTP zXvq5RS5a65lhUwx4CdAmY7kNJX6gBEAnrDprjfQsadLCXpjpsfp/LjODKlBYx0/KLKU 2pMHvUkfL69wEgsx8C7AHtzPGiPIvhhpkJl/RQl9tkLFIEKQ79n9B/NR2+gbXCPf8+tQ eVu5nSbJQb4tyPEkOhr5PwUCJZXRQsI6RkheU6egjdABynAbQn1Yi71DUeue5JAW5MaW vumocoURuV2KsgQUNioAF86B89XOrWaJhcrtQzf/hTG6GvT6gDOtP6Vlicyc99p1TJKq FxUQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y22si288060pfm.357.2018.03.13.08.36.16; Tue, 13 Mar 2018 08:36:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933875AbeCMPe6 (ORCPT + 99 others); Tue, 13 Mar 2018 11:34:58 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:32976 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933840AbeCMPez (ORCPT ); Tue, 13 Mar 2018 11:34:55 -0400 Received: from localhost (LFbn-1-12258-90.w90-92.abo.wanadoo.fr [90.92.71.90]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id B05BF1080; Tue, 13 Mar 2018 15:34:54 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Masahiro Yamada , Douglas Anderson Subject: [PATCH 4.14 001/140] kbuild: move "_all" target out of $(KBUILD_SRC) conditional Date: Tue, 13 Mar 2018 16:23:24 +0100 Message-Id: <20180313152458.279778612@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180313152458.201155692@linuxfoundation.org> References: <20180313152458.201155692@linuxfoundation.org> User-Agent: quilt/0.65 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Masahiro Yamada commit ba634eceb535d95e87ef09caae7814b3687c6036 upstream. The first "_all" occurrence around line 120 is only visible when KBUILD_SRC is unset. If O=... is specified, the working directory is relocated, then the only second occurrence around line 193 is visible, that is not set to PHONY. Move the first one to an always visible place. This clarifies "_all" is our default target and it is always set to PHONY. Signed-off-by: Masahiro Yamada Reviewed-by: Douglas Anderson Signed-off-by: Greg Kroah-Hartman --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) --- a/Makefile +++ b/Makefile @@ -11,6 +11,10 @@ NAME = Petit Gorille # Comments in this file are targeted only to the developer, do not # expect to learn how to build the kernel reading this file. +# That's our default target when none is given on the command line +PHONY := _all +_all: + # o Do not use make's built-in rules and variables # (this increases performance and avoids hard-to-debug behaviour); # o Look for make include files relative to root of kernel src @@ -117,10 +121,6 @@ ifeq ("$(origin O)", "command line") KBUILD_OUTPUT := $(O) endif -# That's our default target when none is given on the command line -PHONY := _all -_all: - # Cancel implicit rules on top Makefile $(CURDIR)/Makefile Makefile: ;