From patchwork Sun Jul 9 18:32:47 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107250 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2540181qge; Sun, 9 Jul 2017 11:35:20 -0700 (PDT) X-Received: by 10.98.144.209 with SMTP id q78mr40818257pfk.81.1499625319908; Sun, 09 Jul 2017 11:35:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499625319; cv=none; d=google.com; s=arc-20160816; b=KKzJnCQUx4dGMpbVpd1m2E2uzdveN7mb2qvludz+M4besbCPqS+X6U5zw/GrBLiQF4 SErsh+jGGhJQBadk9CjIt1z0L4Vy/GDSZ4m9Aspo8XTN8fFc/iXySjK2SzQG3QQNY150 /5SXcjmBhAL7eyBzr3uQoU7aDJloedVr9p9BAs+CwcPWTuyNahAuDkzTpxUgKJxnQE0y rOSHF+LLfXCAC5XMaheG4wgBYtA5TqqoKG+7GUZV7Hvff32wa/eSfXBwYU/77FOLxryO laJHJvx/3N3iZPqRRr/T/qrSeok0IshFZBbQRKHkriokZrp2zXhsjG4Gt9rg7uR9Rvy1 L7pg== 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=g1BO2Je9RPBbYIZWTX1MBHv+j4R3l7j+wFMvato2pB0=; b=BpVcSf32/mkeqMQzC25U9LAPw18mONc+9lNHLnfpVxDfKZV9I01GYvOnFBY1fD4Ayx Od/ixEO2lbhKBo0LTo6ABSuTZlNz+WmSrY13Pvvb7qi3bx+cc4B3rRrlqysEzyKyy/02 g6ixB2ywIAm5TRl0525RVuAn7TwjawWBWtyu7gBbKaJV+ZhcPNZi2fOU9p0w9A1hIsk9 ugIUSZ+mI+0wYx7KcKM074NirZ/1tbpcqlIyfNiZKElPwxDPgc91va463SJpGCq76WJN 38b1rGrqwFxFoRdzYlWeh7DxvEeY0Z7GoZ8eq4HfyzZOCWTV17Z2Xc07IJ2FzWpQ3e55 mS+A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=Uwmstzd2; 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.19; Sun, 09 Jul 2017 11:35:19 -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=Uwmstzd2; 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 S1753149AbdGISdi (ORCPT + 25 others); Sun, 9 Jul 2017 14:33:38 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45819 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752634AbdGISdY (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 v69IX2DB000353; Mon, 10 Jul 2017 03:33:15 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2DB000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625195; bh=g1BO2Je9RPBbYIZWTX1MBHv+j4R3l7j+wFMvato2pB0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Uwmstzd2nnDGf3UDM1jOmwhLU+vEpgfbAw/ituC6KJx4Jve056yya4q4Ux4ifjNJD DJk80vTKSUKga5UbYpHGc7Ipy999nkNquRxRm2BYZ+5t/Pe1SAZisOjJkEuF2pxHl7 cdKD/WS9oaj3azkVCHGQIb7q19BkMTLPB+QbA/fGUM/zNNKQuG/tb8bqG1Vd+d3h+w r6WfFQbxg7Xwlfg7z3ibcIanWzCDANvaKPnYNy4yZZMiQ1A38eLyPww0bicyX2cb9v MxrzlKR0v403kpGGaipq+OqBVB5duKiTmXWRQUIEz1AeJoFvicB+Nl/HzUuqjtyDfu hoOPB3LPnXgyQ== 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 15/28] metag: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:47 +0900 Message-Id: <1499625180-8067-16-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. Also, move "generic-y += kprobes.h" up in order to keep the entries sorted. Signed-off-by: Masahiro Yamada --- arch/metag/include/asm/Kbuild | 26 +------------------------- arch/metag/include/uapi/asm/Kbuild | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 25 deletions(-) -- 2.7.4 diff --git a/arch/metag/include/asm/Kbuild b/arch/metag/include/asm/Kbuild index 8f940553a579..3fba97ed9bb2 100644 --- a/arch/metag/include/asm/Kbuild +++ b/arch/metag/include/asm/Kbuild @@ -1,58 +1,34 @@ -generic-y += auxvec.h -generic-y += bitsperlong.h generic-y += bugs.h generic-y += clkdev.h generic-y += current.h generic-y += device.h generic-y += dma.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 += futex.h generic-y += hardirq.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 += irq_work.h generic-y += kdebug.h generic-y += kmap_types.h -generic-y += kvm_para.h +generic-y += kprobes.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 += pci.h generic-y += percpu.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h generic-y += sections.h -generic-y += sembuf.h generic-y += serial.h -generic-y += shmbuf.h -generic-y += shmparam.h -generic-y += signal.h -generic-y += socket.h -generic-y += sockios.h -generic-y += stat.h -generic-y += statfs.h generic-y += switch_to.h -generic-y += termbits.h -generic-y += termios.h generic-y += timex.h generic-y += trace_clock.h -generic-y += types.h -generic-y += ucontext.h generic-y += unaligned.h generic-y += user.h generic-y += vga.h generic-y += word-at-a-time.h generic-y += xor.h -generic-y += kprobes.h diff --git a/arch/metag/include/uapi/asm/Kbuild b/arch/metag/include/uapi/asm/Kbuild index b29731ebd7a9..6ac763d9a3e3 100644 --- a/arch/metag/include/uapi/asm/Kbuild +++ b/arch/metag/include/uapi/asm/Kbuild @@ -1,6 +1,30 @@ # UAPI Header export list include include/uapi/asm-generic/Kbuild.asm +generic-y += auxvec.h +generic-y += bitsperlong.h +generic-y += errno.h +generic-y += fcntl.h +generic-y += ioctl.h +generic-y += ioctls.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 += posix_types.h generic-y += resource.h +generic-y += sembuf.h generic-y += setup.h +generic-y += shmbuf.h +generic-y += shmparam.h +generic-y += signal.h +generic-y += socket.h +generic-y += sockios.h +generic-y += stat.h +generic-y += statfs.h +generic-y += termbits.h +generic-y += termios.h +generic-y += types.h +generic-y += ucontext.h