From patchwork Mon Jun 12 03:27:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 103594 Delivered-To: patch@linaro.org Received: by 10.140.91.77 with SMTP id y71csp14015qgd; Sun, 11 Jun 2017 20:32:26 -0700 (PDT) X-Received: by 10.84.194.228 with SMTP id h91mr7022400pld.171.1497238346834; Sun, 11 Jun 2017 20:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497238346; cv=none; d=google.com; s=arc-20160816; b=aO+T9BHBqQjnmCkl4U3MiC1/duem5WhkVSjPorXyOOUdHZP71jJh9JCN4T153GQOKo u/WgmvTB9Y05wgnX6Y1wH+rP3VXC4QsKOp4F9JZMUHyf1T1uRasbq8nL/vv8j6Pv9tOS dwnaoGtmtd0WUBgEExhkZN4D+Ra86wo/2+XRkIBiLeK/oS+lhcL0F08IRK57s71Xo1XJ ZfukYnkneBC4mRMhU1szaoaQUq0LNpaf7qaFlubiZiYnwztBBCp8DGvJz36I9vxR4tBa mkQZXf/owfBy5Z15dGX7lPNILxnAj2q3ekPk82fs3doAB75CYX2mp7oPOTX5LlGja9Aw 5aTg== 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 :arc-authentication-results; bh=fNLw+z69UthfUU8qttQ+tLKPP3swE2QlbsdvpYRKSkQ=; b=AhubUIzgabhLcf2eJbnMOShEyT7O41id9YOMeu/g3GSDZmA4uL2NTp2L8ZohWD3eJq enK/+TfScJKkx0RdtLSvPqcDd4lbiUnH1Dvud6xPUPeXgFsck+ZkbjbTWjYBJ4ZNVQ1s JiFgojZet2/SGyaHTJyCKPohJdzto/uOktaeB59aPVIbZRAp0e6JIdJCs6cyw4RJa/dg owgjjoRJfUZMT3KV4JYrkthPTv7EJUUKmL+OV+eKqbx8RSmR1F6tvGTG+LEhTHT1TGSX XDsgILf7W84TIhFx9kN4K5puFD+qFg+81/ya+39zjINDCTAhn3MVhfKKXs4yTHdNCOqG ehlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.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 i6si5968320plk.180.2017.06.11.20.32.26; Sun, 11 Jun 2017 20:32:26 -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; 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 S1752515AbdFLDcL (ORCPT + 25 others); Sun, 11 Jun 2017 23:32:11 -0400 Received: from conuserg-09.nifty.com ([210.131.2.76]:63935 "EHLO conuserg-09.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbdFLD2G (ORCPT ); Sun, 11 Jun 2017 23:28:06 -0400 Received: from pug.e01.socionext.com (p14092-ipngnfx01kyoto.kyoto.ocn.ne.jp [153.142.97.92]) (authenticated) by conuserg-09.nifty.com with ESMTP id v5C3RXPR001077; Mon, 12 Jun 2017 12:27:54 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-09.nifty.com v5C3RXPR001077 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1497238074; bh=fNLw+z69UthfUU8qttQ+tLKPP3swE2QlbsdvpYRKSkQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VQxVvaWBnvL7LOQmQvoE6HQpWnD4kH6gPQk1NCvsyla3L+7lcFu8jdorbv+f+1pls D3tIDgRdEB6f9c1JNfifgFzhL8cHs0R1VWht1cy88qJ8IclFIJmclrueb/PPcUJiTX /Il0HiQKE2L1us+PU9fgct86tAL63KIpBCvyKLSXL5REChHyzJ47LuAkarVbHgmh5Q Y84vq3XpYBbWkxiy7tUssiFwzz4HKz7jKfsm4CzqptxhS+33ZbsW0an3KTKjXoM0ph 8UNgnYAMZjBrGQiNs8aLxxZVlJwnC//V3oPh7IxsJRr+WhwEb3qsddxu+RwoTMgthq H7hPCT9f4zD/g== X-Nifty-SrcIP: [153.142.97.92] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org, linux-arch Cc: Masahiro Yamada , Michal Marek , linux-kernel@vger.kernel.org Subject: [PATCH 27/27] kbuild: remove wrapper files handling from Makefile.headersinst Date: Mon, 12 Jun 2017 12:27:21 +0900 Message-Id: <1497238041-7011-28-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> References: <1497238041-7011-1-git-send-email-yamada.masahiro@socionext.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org scripts/Makefike.headersinst creates asm-generic wrappers by itself because scripts/Makefile.asm-generic created some of exported wrappers outside uapi directories. Now this distortion has been fixed. scripts/Makefile.headersinst can simply copy wrappers created by scripts/Makefile.asm-generic. Signed-off-by: Masahiro Yamada --- scripts/Makefile.headersinst | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) -- 2.7.4 diff --git a/scripts/Makefile.headersinst b/scripts/Makefile.headersinst index d6be5e482636..5a3da7c42c09 100644 --- a/scripts/Makefile.headersinst +++ b/scripts/Makefile.headersinst @@ -45,14 +45,8 @@ genhdr-files := $(filter-out $(header-files), $(genhdr-files)) install-file := $(installdir)/.install check-file := $(installdir)/.check -# generic-y list all files an architecture uses from asm-generic -# Use this to build a list of headers which require a wrapper -generic-files := $(notdir $(wildcard $(srctree)/include/uapi/asm-generic/*.h)) -wrapper-files := $(filter $(generic-files), $(generic-y)) -wrapper-files := $(filter-out $(header-files), $(wrapper-files)) - # all headers files for this dir -all-files := $(header-files) $(genhdr-files) $(wrapper-files) +all-files := $(header-files) $(genhdr-files) output-files := $(addprefix $(installdir)/, $(all-files)) ifneq ($(mandatory-y),) @@ -76,9 +70,6 @@ quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\ cmd_install = \ $(CONFIG_SHELL) $< $(installdir) $(srcdir) $(header-files); \ $(CONFIG_SHELL) $< $(installdir) $(gendir) $(genhdr-files); \ - for F in $(wrapper-files); do \ - echo "\#include " > $(installdir)/$$F; \ - done; \ touch $@ quiet_cmd_remove = REMOVE $(unwanted)