Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5219934ybi; Tue, 4 Jun 2019 03:18:29 -0700 (PDT) X-Google-Smtp-Source: APXvYqyAOXdN1qYB38LERDxfLnWYBc3rHruBQHf9ufd1MrXQRX78PxPFYB6YqAWcvgoFuJLN0zoI X-Received: by 2002:a17:902:b682:: with SMTP id c2mr36014171pls.9.1559643509681; Tue, 04 Jun 2019 03:18:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559643509; cv=none; d=google.com; s=arc-20160816; b=ATJFwbQ+qcy90xz/Lpr8MTurLkQnpAG/weHllDaTl6wY7IeK4Vrf6KKXFa1mA/5iRq O2UJx7t0X+Ha35sA1qqJoL/mZfPuU1iuNVqip8B56/8PmqkzgGyiw9z0/Gi1Vjvg6UTR MZm6pvERnv9nIRMpqafxhxmTmkjV4txCYOUb+wtlMpUyVSZAj0QfkYoYTDw39qJ/h9gi GghWDLjPI6xEsNaWnEAlqx08XTicq+4i/A/8gI8UytBPRFCIHCvMw25yUSnL9kBV88+1 q3xRLZXeC/rzCTWQi4NJXbM/IMuttLeyAINhQ06HJ5T6JMu099JUdARtxWu+hSAfSDmm PhCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=LSUJNxijHUvxY1rUpeDqChsQP6kLQbdVLxrgaFhk53Y=; b=rvJeycdP/Jh9KodoUfm/b8xkfRVFJXRcvVia2niLBGB4l9s3RbbYM6ngeAyFpu5oGu LUWXRvjuQPkaaBqYEl9TLAdaCh9dYHiSsGIAdFGS9iVSNap7UoqaCoD6Rvmgv+9SC6NH velLgN5ABvXHw2XMGHPopJIPAdxwFKhRMVxOjii/hSRZsVaKO+bEShAwe4lMWgZmGYNE hVwy3WQnYS6XWQl2oMxBptjq+pQmiMO59kJChMGUDUbSLmS5buqMCI1S/O3skX3QCjKi twSNCviOWGC/xe/+pGPB6jfNhDNVX2sR4J65Di/TPIpNYIDrqHp5740Hx5x85lhPCpPx dtYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LAwtFKf2; 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 o1si20180580pgp.466.2019.06.04.03.18.12; Tue, 04 Jun 2019 03:18:29 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LAwtFKf2; 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 S1727248AbfFDKPj (ORCPT + 99 others); Tue, 4 Jun 2019 06:15:39 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:39190 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727085AbfFDKPi (ORCPT ); Tue, 4 Jun 2019 06:15:38 -0400 Received: from localhost.localdomain (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-08.nifty.com with ESMTP id x54AEC7K032511; Tue, 4 Jun 2019 19:14:26 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com x54AEC7K032511 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1559643267; bh=LSUJNxijHUvxY1rUpeDqChsQP6kLQbdVLxrgaFhk53Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LAwtFKf2wIw6tMpPoEnHS5RkStUORb0Z3gAA8ZbTb+V88FeU8cv88xStQPNue6h+/ OKqB2KOIaWtFJVVwM+XH+1poPrmHPvEhSSVL64aR0FEAjqIpEIUi5s9yjsXrWEpGnj qO4KjeafCKeZLvlmM6qJBYUQL9bS5ht8nC02ZrPT/RQ8mPP1BVc06RHEGwfVI+ue4j rxsvZeYr0BaXPIlbGxKWpskliA+8MCD5xBXj61OAqPIgTPJ6f5QyvjzBv93/ZNdwyH 7QFsTlFeo0uhbM3zg/0x+64Qoqfphszli/KbT9BhjKBnjg7HLh6ihcNcanikBMUTAC 6J7CTEB97kYPQ== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: Randy Dunlap , Arnd Bergmann , David Howells , Sam Ravnborg , Jani Nikula , Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 14/15] fixup: kbuild: add support for ensuring headers are self-contained Date: Tue, 4 Jun 2019 19:14:08 +0900 Message-Id: <20190604101409.2078-15-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190604101409.2078-1-yamada.masahiro@socionext.com> References: <20190604101409.2078-1-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is needed to avoid regeneration of header-test C files. This will go away when Jani send v2. Signed-off-by: Masahiro Yamada --- scripts/Makefile.build | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/scripts/Makefile.build b/scripts/Makefile.build index 2b4d56483c2e..067e98628664 100644 --- a/scripts/Makefile.build +++ b/scripts/Makefile.build @@ -298,10 +298,9 @@ $(obj)/%.lst: $(src)/%.c FORCE # --------------------------------------------------------------------------- quiet_cmd_header_test = HDRTEST $@ - cmd_header_test = echo "\#include \"$( $@ + cmd_header_test = echo "\#include \"$*.h\"" > $@ -# FIXME: would be nice to be able to limit this implicit rule to header-test-y -$(obj)/%.header_test.c: $(src)/%.h FORCE +$(obj)/%.header_test.c: $(call if_changed,header_test) # Compile assembler sources (.S) -- 2.17.1