All of lore.kernel.org
 help / color / mirror / Atom feed
From: Masahiro Yamada <yamada.masahiro@socionext.com>
To: linux-kbuild@vger.kernel.org
Cc: linux-arch@vger.kernel.org,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH v2 19/28] openrisc: move generic-y of exported headers to uapi/asm/Kbuild
Date: Mon, 10 Jul 2017 03:32:51 +0900	[thread overview]
Message-ID: <1499625180-8067-20-git-send-email-yamada.masahiro@socionext.com> (raw)
In-Reply-To: <1499625180-8067-1-git-send-email-yamada.masahiro@socionext.com>

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 <yamada.masahiro@socionext.com>
---

 arch/openrisc/include/asm/Kbuild      | 29 +----------------------------
 arch/openrisc/include/uapi/asm/Kbuild | 27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 28 deletions(-)

diff --git a/arch/openrisc/include/asm/Kbuild b/arch/openrisc/include/asm/Kbuild
index 091585addb91..5bea416a7792 100644
--- a/arch/openrisc/include/asm/Kbuild
+++ b/arch/openrisc/include/asm/Kbuild
@@ -1,6 +1,4 @@
-generic-y += auxvec.h
 generic-y += barrier.h
-generic-y += bitsperlong.h
 generic-y += bug.h
 generic-y += bugs.h
 generic-y += cacheflush.h
@@ -11,57 +9,32 @@ generic-y += device.h
 generic-y += div64.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 += 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.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 += mcs_spinlock.h
 generic-y += mm-arch-hooks.h
-generic-y += mman.h
 generic-y += module.h
-generic-y += msgbuf.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 += sections.h
 generic-y += segment.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 += string.h
-generic-y += swab.h
 generic-y += switch_to.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
 generic-y += xor.h
-generic-y += kprobes.h
diff --git a/arch/openrisc/include/uapi/asm/Kbuild b/arch/openrisc/include/uapi/asm/Kbuild
index b55fc2ae1e8c..62286dbeb904 100644
--- a/arch/openrisc/include/uapi/asm/Kbuild
+++ b/arch/openrisc/include/uapi/asm/Kbuild
@@ -1,4 +1,31 @@
 # 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 += 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 += siginfo.h
+generic-y += signal.h
+generic-y += socket.h
+generic-y += sockios.h
+generic-y += stat.h
+generic-y += statfs.h
+generic-y += swab.h
+generic-y += termbits.h
+generic-y += termios.h
+generic-y += types.h
+generic-y += ucontext.h
-- 
2.7.4

  parent reply	other threads:[~2017-07-09 18:33 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-09 18:32 [PATCH v2 00/28] kbuild: complete UAPI de-coupling and cleanup scripts/Makefile.headersinst Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 01/28] kbuild: remove useless $(gen) variable in Makefile.headersinst Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 02/28] kbuild: fix comment about dst of headers_{install,check}_all Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 03/28] kbuild: pass dst= to Makefile.headersinst from top Makefile Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 04/28] arm64: move generic-y of exported headers to uapi/asm/Kbuild Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 05/28] ARM: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 06/28] arc: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 07/28] blackfin: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 08/28] c6x: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 09/28] cris: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 10/28] h8300: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 11/28] hexagon: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 12/28] ia64: remove redundant generic-y += kvm_para.h from asm/Kbuild Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 13/28] m32r: move generic-y of exported headers to uapi/asm/Kbuild Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 14/28] m68k: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 15/28] metag: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 16/28] microblaze: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 17/28] nios2: remove unneeded arch/nios2/include/(generated/)asm/signal.h Masahiro Yamada
2017-07-11  9:19   ` Tobias Klauser
2017-07-09 18:32 ` [PATCH v2 18/28] nios2: move generic-y of exported headers to uapi/asm/Kbuild Masahiro Yamada
2017-07-11  9:20   ` Tobias Klauser
2017-07-09 18:32 ` Masahiro Yamada [this message]
2017-07-10 20:21   ` [PATCH v2 19/28] openrisc: " Stafford Horne
2017-07-09 18:32 ` [PATCH v2 20/28] parisc: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 21/28] sh: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 22/28] sparc: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 23/28] tile: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 24/28] unicore32: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 25/28] xtensa: " Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 26/28] kbuild: do not include old-kbuild-file from Makefile.headersinst Masahiro Yamada
2017-07-09 18:32 ` [PATCH v2 27/28] kbuild: split exported generic header creation into uapi-asm-generic Masahiro Yamada
2017-07-09 18:33 ` [PATCH v2 28/28] kbuild: remove wrapper files handling from Makefile.headersinst Masahiro Yamada
2017-07-10  8:42 ` [PATCH v2 00/28] kbuild: complete UAPI de-coupling and cleanup scripts/Makefile.headersinst Sam Ravnborg
2017-07-10  9:12   ` Masahiro Yamada

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1499625180-8067-20-git-send-email-yamada.masahiro@socionext.com \
    --to=yamada.masahiro@socionext.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.