You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
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'
This commit is contained in:
@@ -874,6 +874,21 @@ PHONY += depend dep
|
|||||||
depend dep:
|
depend dep:
|
||||||
@echo '*** Warning: make $@ is unnecessary now.'
|
@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
|
# Modules
|
||||||
|
|
||||||
@@ -1048,6 +1063,8 @@ help:
|
|||||||
@echo ' cscope - Generate cscope index'
|
@echo ' cscope - Generate cscope index'
|
||||||
@echo ' kernelrelease - Output the release version string'
|
@echo ' kernelrelease - Output the release version string'
|
||||||
@echo ' kernelversion - Output the version stored in Makefile'
|
@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 ''
|
||||||
@echo 'Static analysers'
|
@echo 'Static analysers'
|
||||||
@echo ' checkstack - Generate a list of stack hogs'
|
@echo ' checkstack - Generate a list of stack hogs'
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
header-y += asm-generic/ linux/ scsi/ sound/ mtd/ rdma/ video/
|
||||||
|
header-y += asm-$(ARCH)/
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
|
|
||||||
|
unifdef-y += console.h fpu.h sysinfo.h
|
||||||
|
|
||||||
|
header-y += gentrap.h regdef.h pal.h reg.h
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
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
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
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
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
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
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
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
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
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
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
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
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
include include/asm-generic/Kbuild.asm
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user