From patchwork Sun Jul 9 18:32:37 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107267 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2542323qge; Sun, 9 Jul 2017 11:38:55 -0700 (PDT) X-Received: by 10.98.37.3 with SMTP id l3mr42085238pfl.169.1499625534938; Sun, 09 Jul 2017 11:38:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625534; cv=none; d=google.com; s=arc-20160816; b=hq1Tva/O+kwFVm2gy/l+a4kNXW1kDGtOFZ8p/CkJNJSF9N8ucDpu2JIrZevzhHbx3n p7vJL04/kKNbwbZVxNlbiSkn0IoOwHv2yJFpBNFwatGC7jM+y7dwQTSQBgzDD2aJCWQJ hCtNFd/LjDoiLjAzw8122E5cE1Jlcj91v9BLIopvbFDZNgb7UmNwEhBTb+bp5ZsIcpcp U2jCvg4kfVRCUlJqY21oJcIjFyWdXF1WXm1G0MwuDXB9IWIYDsPnQcpHdmpVoGenwScG xgDLFiR7vQOTUt4DfxqGDfdcymCjLNskoeUyP4g2uroJnnvZjzCfycChCdzR65qVN2qu aMPg== 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=pSjPouRo6kVWErtnCyVtrbrgiPDQuiwmsNabOQf1LOA=; b=RdWMQ+t6hoL8tkuWYzuCLYGzklW9zwg4XfgSu7Ob3wrtEp1UOgrFGMS112mLhUHzig CL4Gxq2inZqQxJJSspRpAe5HXCqM9AP6SG6IAridCJcs5XUtUJi3tyMeKVO6MhGhDHsJ 1JTDcWbOPIxwjL1IjBm7zDCEP4Yk5AFMAN39rNbQYGC6D9IXWw2Lx3op4VoUIE/2qGCb Rhu0QVnx2TRdXxn9CPqYj8WEJ1ylc2Hfddd4rjofFSCXuBRJGjBsekibqtu/JraGEPnM 8nz6xutcvbI0oQh4z83Crjtp3yYXs9Y91q0ROP1I+2cJmsuAaKmiL/44OUbeBXYIbR6R NvgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=QFjOVoeD; 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 89si6386378pfp.91.2017.07.09.11.38.54; Sun, 09 Jul 2017 11:38:54 -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=QFjOVoeD; 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 S1753101AbdGISii (ORCPT + 25 others); Sun, 9 Jul 2017 14:38:38 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45693 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752531AbdGISdR (ORCPT ); Sun, 9 Jul 2017 14:33:17 -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 v69IX2D1000353; Mon, 10 Jul 2017 03:33:10 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D1000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625191; bh=pSjPouRo6kVWErtnCyVtrbrgiPDQuiwmsNabOQf1LOA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QFjOVoeD63zzU/XUb/ADqlthZWyiecPbUdvrztADJkBTwBiEcG2teX0zQCKjRSCHu fBZzaLGimpuvDeg6JJY08+3O3tYuYsST0OCWwNJw3Arwa2MCkLoi9wQK+v5QLAXWky wNxrpWlU6PcgJS9WrTD+OA9Ku2BPGtU9YPoJzkwHdnmzCrF9ZRlvuQCh67jAGwkWzo bbIT1Z8EiTpEqnSz/2918sNql4w6/X57SNSUHQoP2FMnz2esaZgxNvJEgRDpngIL05 n/sl16pv4KzMFEyfyBkw2/Bo5EUzq/KxtTWgRtgTuqa59T/nleZEDLR75eRfs8MODr Cq0xDgQ9JnBQQ== 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 05/28] ARM: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:37 +0900 Message-Id: <1499625180-8067-6-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/arm/include/asm/Kbuild | 16 ---------------- arch/arm/include/uapi/asm/Kbuild | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 16 deletions(-) -- 2.7.4 diff --git a/arch/arm/include/asm/Kbuild b/arch/arm/include/asm/Kbuild index d8360501c082..721ab5ecfb9b 100644 --- a/arch/arm/include/asm/Kbuild +++ b/arch/arm/include/asm/Kbuild @@ -1,39 +1,23 @@ - - -generic-y += bitsperlong.h generic-y += clkdev.h generic-y += current.h generic-y += early_ioremap.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h generic-y += extable.h -generic-y += ioctl.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += kdebug.h generic-y += local.h generic-y += local64.h generic-y += mm-arch-hooks.h -generic-y += msgbuf.h generic-y += msi.h -generic-y += param.h generic-y += parport.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h generic-y += rwsem.h generic-y += seccomp.h generic-y += segment.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h generic-y += simd.h generic-y += sizes.h -generic-y += socket.h -generic-y += sockios.h -generic-y += termbits.h -generic-y += termios.h generic-y += timex.h generic-y += trace_clock.h generic-y += unaligned.h diff --git a/arch/arm/include/uapi/asm/Kbuild b/arch/arm/include/uapi/asm/Kbuild index 5fb3368e70cb..8e17fe80b55b 100644 --- a/arch/arm/include/uapi/asm/Kbuild +++ b/arch/arm/include/uapi/asm/Kbuild @@ -5,4 +5,18 @@ generated-y += unistd-common.h generated-y += unistd-oabi.h generated-y += unistd-eabi.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += msgbuf.h +generic-y += param.h +generic-y += poll.h +generic-y += resource.h +generic-y += sembuf.h +generic-y += shmbuf.h generic-y += siginfo.h +generic-y += socket.h +generic-y += sockios.h +generic-y += termbits.h +generic-y += termios.h