From patchwork Sun Jul 9 18:32:38 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 107266 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp2542318qge; Sun, 9 Jul 2017 11:38:54 -0700 (PDT) X-Received: by 10.101.86.68 with SMTP id m4mr11360893pgs.46.1499625534598; 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=uXNNcEfweZsr8r0Wqkm7bhQxtz0B+w+/1Hy6UG9RjO/9Zyhrystn3a4UUSndPw3tjn 63+fGYuIpvu4m7/FHRrGgE9+U+jPT4ZaYvumgHsYeABah/UY5VkyB/83Uf57F4KGi+/S Z/vlsRD+w6YKDZOO/yYm5DS6T6iJR8cxF/OaUpMRFoMxjYMdkaA8ydVIqm2bbbusrzw3 3IKppyvbRcrGZPKH0FZht6f3XeQ7bB5f0Cj6wq+uPgtK3fg6CUP+JAMyQLZih6+sVdBs +Cgo+lveWoPOX93flfICdt5lijozgo76cNs4KUS/NBHDPbYKOWM7/MxRGgCode+l9R79 3CXQ== 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=Xt0CjENOMDf9vqy76Q+Kon3h/WzFDyUIoE8dSbFX82E=; b=ZcJC7qiSGiNS1W7enyTjHKCABqUn2znMXh2dg1GU6MuBCCycvtZkqgS4Z1dYjkrUD/ 76h+nzBhXS3A6q6MPzzuRz2AVI/nCZFEMuAk3Wk3n/cNfXXgS9zVtUDOJjQu7rP/s2bo dM9+jv+kZZOVsO3q7E7ZBlfuRu7DNCSFBMtSJ0Lliif9TPNudm0RFHFBoO5ZWTIrTIiq c3fbT4ymyQmY6/v89zfmmaqAX0EywTahuzi6EHFNKuMWJViqXH9tSUE9CwOasuz5NXJg f7RaIlsUv3yXVTT3xS0x3008wa41mF+mHrBEVM1q+ZgMlFq07umSIrYg7AQtgYrzfIRo mZJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.b=RQig0CKq; 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=RQig0CKq; 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 S1752718AbdGISig (ORCPT + 25 others); Sun, 9 Jul 2017 14:38:36 -0400 Received: from conuserg-08.nifty.com ([210.131.2.75]:45700 "EHLO conuserg-08.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752533AbdGISdR (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 v69IX2D2000353; Mon, 10 Jul 2017 03:33:11 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com v69IX2D2000353 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1499625191; bh=Xt0CjENOMDf9vqy76Q+Kon3h/WzFDyUIoE8dSbFX82E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RQig0CKqlXD8mRgHcNyERmPBAjrtq28mP8wNxnAmsGqsJul27PbzacQ7rWN9V2wm0 bbpk+PJ9S/9uIj2XZkImuE8hU1uauut5ocPk8T6DXEl9CGC5Gio2YSvbQL2IQ6lxJY XBzlWOsL8Iwpdvw0D+ClB822nnLEw8wK39myPnaR5e23A9JpLQNWHWHC1vtOAEo5RQ WdoWxxZxEuTY6/T76Sq2nNgb+BGtJvDa+kZzq8dlHSt+U8EHEb5KUVOajDVG8jc0jE 5IAPp+QqgRiSqM3jspNZF/v3ZaKv5QqJncUrhNENLhvB5ZWhDBmVZ+nwuJbM36vzTW DOYEVHoKaAGkg== 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 06/28] arc: move generic-y of exported headers to uapi/asm/Kbuild Date: Mon, 10 Jul 2017 03:32:38 +0900 Message-Id: <1499625180-8067-7-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/arc/include/asm/Kbuild | 24 ------------------------ arch/arc/include/uapi/asm/Kbuild | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 24 deletions(-) -- 2.7.4 diff --git a/arch/arc/include/asm/Kbuild b/arch/arc/include/asm/Kbuild index 3e74ca5e6402..353dae386b2f 100644 --- a/arch/arc/include/asm/Kbuild +++ b/arch/arc/include/asm/Kbuild @@ -1,51 +1,27 @@ -generic-y += auxvec.h -generic-y += bitsperlong.h generic-y += bugs.h generic-y += clkdev.h generic-y += device.h generic-y += div64.h generic-y += emergency-restart.h -generic-y += errno.h generic-y += extable.h generic-y += fb.h -generic-y += fcntl.h generic-y += ftrace.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 += kmap_types.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 += msi.h -generic-y += param.h generic-y += parport.h generic-y += pci.h generic-y += percpu.h -generic-y += poll.h -generic-y += posix_types.h generic-y += preempt.h -generic-y += resource.h -generic-y += sembuf.h -generic-y += shmbuf.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 += topology.h generic-y += trace_clock.h -generic-y += types.h -generic-y += ucontext.h generic-y += user.h generic-y += vga.h generic-y += word-at-a-time.h diff --git a/arch/arc/include/uapi/asm/Kbuild b/arch/arc/include/uapi/asm/Kbuild index b55fc2ae1e8c..fa6d0ff4ff89 100644 --- a/arch/arc/include/uapi/asm/Kbuild +++ b/arch/arc/include/uapi/asm/Kbuild @@ -1,4 +1,28 @@ # 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 += shmbuf.h generic-y += siginfo.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