From patchwork Sun Jul 9 18:32:53 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107257 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2541031qge; Sun, 9 Jul 2017 11:36:47 -0700 (PDT) X-Received: by 10.84.178.37 with SMTP id y34mr14477770plb.223.1499625407404; Sun, 09 Jul 2017 11:36:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625407; cv=none; d=google.com; s=arc-20160816; b=dFi6I5afmKeNrLEQewP3hiETU42WAH2Ie47fYuvXTPQqD3ddqz1/sPEvdwsQqarCLP rCIWc9fle+yXD3t2Q9kkZXJn2Beh8/Xe0exPyze787Dj3eueFD1IWILy1qKRDHojoz6+ w6CLlhRpGyS+rSLtJa8F0U1jowJ2YTWjtFrPvHYlM7ACJo2S2UC6YSHwz+vNXY+p24nO KXuCf1lr4S4JAUKVzBno42mkAeypr0Dtg8kvWCJ5/R/21PGGDXqNmwdegenb72rCmd04 ucbQe6/qv/Tod0nHvziAaqJoyeAWafMwU2bHI4qbeLcVw7yt2SWVMauTplZYY23UZpK0 9/Bw== 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=iKoXuF4VtSlXU+CkWD86nMBVyW3HmndRwW3rdHVtmwA=; b=rKZH8nj2r+CqPy/cI3N8f2/8ko+aFA3fZvvpXPADq/WLvNXFiw8E8bDqiZYGNlWWpQ QkAqZAmE3R/F0uFYFcmzc1+ysOvC24icxWC9vpP4ziOCsCnGvnOJY0lXaUOQYr5R7J/m xoG9exrcdzu3Rp53/3/Gx8Fsf11/3gUjJAYs2BQruio4rcSwjIOjzz0I9OQuLKMqd0ln Q5dRQx42OG7xEliuU/U9o+x06dBL4rRWavuMs0HilnL+iokvICmhnoZYryiDM3S27ZJO VK5R4q26c5LD+lqR2GK/a07Rpy9B9MuofAR9j6uyxBD03WqhRp5zPdzLrX0rOIwYWzqO 0XfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=rS6H2yX5; 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 b8si7226065plk.87.2017.07.09.11.36.47; Sun, 09 Jul 2017 11:36:47 -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=rS6H2yX5; 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 S1753248AbdGISgS (ORCPT + 25 others); Sun, 9 Jul 2017 14:36:18 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45820 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752643AbdGISdY (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 v69IX2DH000353; Mon, 10 Jul 2017 03:33:18 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DH000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625198; bh=iKoXuF4VtSlXU+CkWD86nMBVyW3HmndRwW3rdHVtmwA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rS6H2yX5Bk6Y3TjGEsLBstJV9jjiN7fb41DQCANdO+5kBO28hVPq4Ze4Mf44OEpF/ /jFIb721FgaxRQBkM8LLIdtNw3cvaZDx5JU8Sd/chrWew6eg/K6rNodu+MXpnW/wHg vREWBkarmmZkPtYig0okYjyh13F0Cf+irbRe7JHfa9moK40uoA9fvWxLe7Tq2e6CEM 3hpF0gYwrRfONJ6qn6hx7p+/3+KyciJoxMgo/zbBUga1Nws5ck9fcJvQ0dNfH3T2Cq DRfsrSAM+5xWqWHhZbqsZC/GAf0YZhD7EJD9aKkOsrV0KZB1ec/IsMU8Yy4MWaO7S7 M4hDvkEsoQalQ== 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 21/28] sh: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:53 +0900 Message-Id: <1499625180-8067-22-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/sh/include/asm/Kbuild | 19 ------------------- arch/sh/include/uapi/asm/Kbuild | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 19 deletions(-) -- 2.7.4 diff --git a/arch/sh/include/asm/Kbuild b/arch/sh/include/asm/Kbuild index 590c91ae7541..1a6f9c39feef 100644 --- a/arch/sh/include/asm/Kbuild +++ b/arch/sh/include/asm/Kbuild @@ -1,39 +1,20 @@ - -generic-y += bitsperlong.h generic-y += clkdev.h generic-y += current.h generic-y += delay.h generic-y += div64.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += exec.h -generic-y += fcntl.h -generic-y += ioctl.h -generic-y += ipcbuf.h generic-y += irq_regs.h generic-y += irq_work.h -generic-y += kvm_para.h generic-y += local.h generic-y += local64.h generic-y += mcs_spinlock.h generic-y += mm-arch-hooks.h -generic-y += mman.h -generic-y += msgbuf.h -generic-y += param.h generic-y += parport.h generic-y += percpu.h -generic-y += poll.h generic-y += preempt.h -generic-y += resource.h generic-y += rwsem.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h generic-y += sizes.h -generic-y += socket.h -generic-y += statfs.h -generic-y += termbits.h -generic-y += termios.h generic-y += trace_clock.h -generic-y += ucontext.h generic-y += xor.h diff --git a/arch/sh/include/uapi/asm/Kbuild b/arch/sh/include/uapi/asm/Kbuild index b55fc2ae1e8c..e28531333efa 100644 --- a/arch/sh/include/uapi/asm/Kbuild +++ b/arch/sh/include/uapi/asm/Kbuild @@ -1,4 +1,22 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ipcbuf.h +generic-y += kvm_para.h +generic-y += mman.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 += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += ucontext.h