From patchwork Sun Jul 9 18:32:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107251 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540183qge; Sun, 9 Jul 2017 11:35:20 -0700 (PDT) X-Received: by 10.84.198.129 with SMTP id p1mr14063632pld.120.1499625320367; Sun, 09 Jul 2017 11:35:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625320; cv=none; d=google.com; s=arc-20160816; b=TtqljHbK6UrAub23yS+bzqBQyoCbLTpGXaIr/3TBS/Yw1c0ItSRNhMaYk1cH8itzmw QNFHuts2i54Ox2s07RAYk53AA7OFidcyFmDU/Fms0gGLGz9ebgQXYAzrG8iDz4EJ6Xsd /V5EDY/BQL85E83hhBWgQDIHZKCGhxhVT0qX8V918IG2p31Tl4wnEbsNohPADtn9lNYL MPmiC+Dy4wqgQedApUpRkM1saG8kewGTw/EITPl+EszWrFItmxF1sjlk/1vQxYcRkzG1 Gu7UEWnOHswapwGGtX5uYVoxHxVymtE/X7sizkkv5xj2zf4XHnJGSnXtWDz7SMV4hQAT 39jQ== 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=ezU6Qo9XM8+ahWgdqfXMF0fIfFlcqJ6tyykDcFooxg4=; b=aPCco5c7M6qWSEE9UQ0kZ/j6mr1kM77RTynsMpthmZ7kNj185znz3E7Pwq42V9LoID 2mM3OB/6U5wXWbrRhCswUb2mPoCbv7M4r1gR7bNS4STuaKLluw6571+g6K5qiWpKeuu0 Mxub3mRr7aBuZWarGBbSydV351bzT3fZSgIuFWGEP16j0twJd8kQrgwYCu/KdDMW7w0e OZRG8RK/sMC9ZRLm8TQLA19bCd/7p9tARTkOnpp/RxX+tC1eHoEqu2wC4S7wqULTRAK/ 41R1IJ0ZK+4CfjN7EGUjFsZcG+CR3V7wXZvdLMWTVDXCOZxnSvJDlluV2GlwzcS4dcvp ueRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=T1jOgtSY; 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 m4si6108883pgs.108.2017.07.09.11.35.20; Sun, 09 Jul 2017 11:35:20 -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.b=T1jOgtSY; 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 S1752571AbdGISdg (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:36 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45812 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752624AbdGISdY (ORCPT ); Sun, 9 Jul 2017 14:33:24 -0400 Received: from grover.sesame (FL1-122-131-185-176.osk.mesh.ad.jp [122.131.185.176]) (authenticated) by conuserg-08.nifty.com with ESMTP id v69IX2DI000353; Mon, 10 Jul 2017 03:33:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DI000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625199; bh=ezU6Qo9XM8+ahWgdqfXMF0fIfFlcqJ6tyykDcFooxg4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=T1jOgtSYk0N0KrGa8/KL2njn39Z6EqkOHzq6AecePbCVIyUfonEft5kiSuHpEKrdf tIfs6MuPTbabfnEw2d9NVfbkhqxxtqAffxi/FBTOGpaMmjCRqlUQT+nd3hHTERfGfy voheAFbxOxYP6V/CPnWVaxPArtPHcVsioBGY0+utu7RDMo5XXi+3aQCa8uPFzamDdC rlhCln3Gf9J0Msqm79+GTe0N07wMDQs7p1TUiq6ZOJAhjBoTZyv0E+waUY+3U1TTqB Tkpm4SitmgK0Vk1J/83Y2dX9bsfU80c+u7/ukPZLVTRSdNMXBtXzvFdKAqR7jO4Spj FxLSd4wsQ8Mgg== X-Nifty-SrcIP: [122.131.185.176] From: Masahiro Yamada To: linux-kbuild@vger.kernel.org Cc: linux-arch@vger.kernel.org, Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH v2 22/28] sparc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:54 +0900 Message-Id: <1499625180-8067-23-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com> References: <1499625180-8067-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 Since commit fcc8487d477a ("uapi: export all headers under uapi directories"), all (and only) headers under uapi directories are exported, but asm-generic wrappers are still exceptions. To complete de-coupling the uapi from kernel headers, move generic-y of exported headers to uapi/asm/Kbuild. With this change, "make headers_install" will just need to parse uapi/asm/Kbuild to build up exported headers. Signed-off-by: Masahiro Yamada --- arch/sparc/include/asm/Kbuild | 1 - arch/sparc/include/uapi/asm/Kbuild | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) -- 2.7.4 diff --git a/arch/sparc/include/asm/Kbuild b/arch/sparc/include/asm/Kbuild index e9e837bc3158..80ddc01f57ac 100644 --- a/arch/sparc/include/asm/Kbuild +++ b/arch/sparc/include/asm/Kbuild @@ -18,5 +18,4 @@ generic-y += preempt.h generic-y += rwsem.h generic-y += serial.h generic-y += trace_clock.h -generic-y += types.h generic-y += word-at-a-time.h diff --git a/arch/sparc/include/uapi/asm/Kbuild b/arch/sparc/include/uapi/asm/Kbuild index b15bf6bc0e94..2178c78c7c1a 100644 --- a/arch/sparc/include/uapi/asm/Kbuild +++ b/arch/sparc/include/uapi/asm/Kbuild @@ -1,2 +1,4 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm + +generic-y += types.h