From patchwork Sun Jul 9 18:32:55 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107247 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2539309qge; Sun, 9 Jul 2017 11:34:04 -0700 (PDT) X-Received: by 10.99.103.7 with SMTP id b7mr11465768pgc.2.1499625244240; Sun, 09 Jul 2017 11:34:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625244; cv=none; d=google.com; s=arc-20160816; b=QlmTa6B/zQv3TwocLHXkq6M3DWRei5eW1EazaHyDeP7/2FtOofbVrNht5WTo4CM7aN +VLhCyoISKkN9bOV4ZW6fUSBzGQ0pqm6/1zja7/1WyI1eDHHDyLBNxnDxUJSY2cbITi6 Bz1g8PPfKrl1ErCX9VF1UMFukagEuPrP0dJh8feqhAPOsqrtVOEb89DOoAcim8wJEpBW dFwlslHcClA5LUY9ucHr1ukBIXLtdC59cNoh/bmmw62T7z7OfQyGhu4vn+9PW/ADK5Ta tynve22ZXA6nDnaaX0XDUmeHzBhCS/oxpnsR0I3habQoi5lvOvlcotiOBQ5L+mSlw5J2 /uKg== 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=zCtB0vr1eZSDRlrUdjnxQOgxdHMPb+3a+7bNVCTdMQY=; b=VALESg3SkNikDBDdQoSqwDtdHa73jIWli3/oMRRIY0SWvnMMc1s/h+6eShYItiTQDZ 4UtZEc4JquT67qTVwzeGIVXoPQVA4PX3MXc5upawhd7ojHflSqew5NPsaGxhc8vm2ZvP LBIbH7SD5fyb0XL82oiy/xUZwHBFu+mZAbvl43q6nEUcJviIoP6zFr9v4gsWwkvlEJvp 0JhxUmG1k3AzXZWQ06V+Mlr/eUsyCUR3cBtRknalHc44Rt8zMH1Ja+HNZaErVvus47Uf CqNWZz4zNDKC5qo+JbtvSJUJNfsRYjnIU3R2IDFqxFBflcUPpXU30eaz4JNfis3/i+E/ I8Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=UMp2bY3x; 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 x1si7286103plb.522.2017.07.09.11.34.03; Sun, 09 Jul 2017 11:34:04 -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=UMp2bY3x; 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 S1753222AbdGISdn (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:43 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45817 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752642AbdGISdY (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 v69IX2DJ000353; Mon, 10 Jul 2017 03:33:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DJ000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625199; bh=zCtB0vr1eZSDRlrUdjnxQOgxdHMPb+3a+7bNVCTdMQY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UMp2bY3xTppYRQAr9o2hEGYtFdRbU87NmRMScXGgOv8bCgc/vcZwz4CKpZIyhnxRD 4WvP9+PpnGhq2BJ9ORciglKBZL/OZ7UQf09m/CwJx2NeUh8b8E6CHx9ljkTas2kfoV XaVmrxYmowPNtD5LjErzXDIRLFM8PB7941NNQCY/dSOOG/VDoTPuKkQV56G38qi8CN BSapQIT3UUpBTXlkDk6WJ6yIhAydEH01AfPMPHiRjJKQi7iPkwas8cS7YnIo/Ll0fC tn7kQKr+vEwElOnO0Da56pQlkTNYiyOJTAEPOFwPYeIS3z/mN9fhrZj7TRVE39csH7 awqgrVcSkyX8Q== 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 23/28] tile: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:55 +0900 Message-Id: <1499625180-8067-24-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/tile/include/asm/Kbuild | 19 ------------------- arch/tile/include/uapi/asm/Kbuild | 19 +++++++++++++++++++ 2 files changed, 19 insertions(+), 19 deletions(-) -- 2.7.4 diff --git a/arch/tile/include/asm/Kbuild b/arch/tile/include/asm/Kbuild index 16f0b08c8ce9..d28d2b8932c7 100644 --- a/arch/tile/include/asm/Kbuild +++ b/arch/tile/include/asm/Kbuild @@ -2,37 +2,18 @@ generic-y += bug.h generic-y += bugs.h generic-y += clkdev.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += hw_irq.h -generic-y += ioctl.h -generic-y += ioctls.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += local.h generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += msgbuf.h -generic-y += param.h generic-y += parport.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h generic-y += seccomp.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += socket.h -generic-y += sockios.h -generic-y += statfs.h -generic-y += termbits.h -generic-y += termios.h generic-y += trace_clock.h -generic-y += types.h generic-y += xor.h diff --git a/arch/tile/include/uapi/asm/Kbuild b/arch/tile/include/uapi/asm/Kbuild index 0c74c3c5ebfa..5711de0a1b5e 100644 --- a/arch/tile/include/uapi/asm/Kbuild +++ b/arch/tile/include/uapi/asm/Kbuild @@ -1,4 +1,23 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.h +generic-y += ipcbuf.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += posix_types.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h +generic-y += shmparam.h +generic-y += socket.h +generic-y += sockios.h +generic-y += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h generic-y += ucontext.h