Commit 6fa0cb11 authored by Linus Torvalds's avatar Linus Torvalds
Browse files

Merge git://git.infradead.org/hdrinstall-2.6

* git://git.infradead.org/hdrinstall-2.6:
  Remove export of include/linux/isdn/tpam.h
  Remove <linux/i2c-id.h> and <linux/i2c-algo-ite.h> from userspace export
  Restrict headers exported to userspace for SPARC and SPARC64
  Add empty Kbuild files for 'make headers_install' in remaining arches.
  Add Kbuild file for Alpha 'make headers_install'
  Add Kbuild file for SPARC 'make headers_install'
  Add Kbuild file for IA64 'make headers_install'
  Add Kbuild file for S390 'make headers_install'
  Add Kbuild file for i386 'make headers_install'
  Add Kbuild file for x86_64 'make headers_install'
  Add Kbuild file for PowerPC 'make headers_install'
  Add generic Kbuild files for 'make headers_install'
  Basic implementation of 'make headers_check'
  Basic implementation of 'make headers_install'
parents c6482dde 257a5bde
......@@ -874,6 +874,21 @@ PHONY += depend dep
depend dep:
@echo '*** Warning: make $@ is unnecessary now.'
# ---------------------------------------------------------------------------
# Kernel headers
INSTALL_HDR_PATH=$(MODLIB)/abi
export INSTALL_HDR_PATH
PHONY += headers_install
headers_install: include/linux/version.h
$(Q)unifdef -Ux /dev/null
$(Q)rm -rf $(INSTALL_HDR_PATH)/include
$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include
PHONY += headers_check
headers_check: headers_install
$(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1
# ---------------------------------------------------------------------------
# Modules
......@@ -1048,6 +1063,8 @@ help:
@echo ' cscope - Generate cscope index'
@echo ' kernelrelease - Output the release version string'
@echo ' kernelversion - Output the version stored in Makefile'
@echo ' headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'
@echo ' (default: /lib/modules/$$VERSION/abi)'
@echo ''
@echo 'Static analysers'
@echo ' checkstack - Generate a list of stack hogs'
......
header-y += asm-generic/ linux/ scsi/ sound/ mtd/ rdma/ video/
header-y += asm-$(ARCH)/
include include/asm-generic/Kbuild.asm
unifdef-y += console.h fpu.h sysinfo.h
header-y += gentrap.h regdef.h pal.h reg.h
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
header-y += atomic.h errno-base.h errno.h fcntl.h ioctl.h ipc.h mman.h \
signal.h statfs.h
unifdef-y := resource.h siginfo.h
unifdef-y += a.out.h auxvec.h byteorder.h errno.h fcntl.h ioctl.h \
ioctls.h ipcbuf.h irq.h mman.h msgbuf.h param.h poll.h \
posix_types.h ptrace.h resource.h sembuf.h shmbuf.h shmparam.h \
sigcontext.h siginfo.h signal.h socket.h sockios.h stat.h \
statfs.h termbits.h termios.h timex.h types.h unistd.h user.h
# These really shouldn't be exported
unifdef-y += atomic.h io.h
# These probably shouldn't be exported
unifdef-y += elf.h page.h
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
header-y += boot.h cpufeature.h debugreg.h ldt.h setup.h ucontext.h
unifdef-y += mtrr.h vm86.h
include include/asm-generic/Kbuild.asm
header-y += break.h fpu.h fpswa.h gcc_intrin.h ia64regs.h \
intel_intrin.h intrinsics.h perfmon_default_smpl.h \
ptrace_offsets.h rse.h setup.h ucontext.h
unifdef-y += perfmon.h
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
include include/asm-generic/Kbuild.asm
unifdef-y += a.out.h asm-compat.h bootx.h byteorder.h cputable.h elf.h \
nvram.h param.h posix_types.h ptrace.h seccomp.h signal.h \
termios.h types.h unistd.h
header-y += auxvec.h ioctls.h mman.h sembuf.h siginfo.h stat.h errno.h \
ipcbuf.h msgbuf.h shmbuf.h socket.h termbits.h fcntl.h ipc.h \
poll.h shmparam.h sockios.h ucontext.h ioctl.h linkage.h \
resource.h sigcontext.h statfs.h
include include/asm-generic/Kbuild.asm
unifdef-y += cmb.h debug.h
header-y += dasd.h qeth.h tape390.h ucontext.h vtoc.h z90crypt.h
include include/asm-generic/Kbuild.asm
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment