aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-07-04 15:55:45 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-07-04 15:55:45 -0400
commit6fa0cb1141da80eed4f86155fb51931bc1c31888 (patch)
treedf9b3c378ae4f44260eaae1a4b9d5c4ccf7bb641 /Makefile
parentc6482dde1c2811afba289b2344268f850595f350 (diff)
parent257a5bdeb0441789d8e34e1b3e92b26d0f51bbf0 (diff)
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'
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b36aeb617bd2..11a850cffd3d 100644
--- a/Makefile
+++ b/Makefile
@@ -875,6 +875,21 @@ depend dep:
875 @echo '*** Warning: make $@ is unnecessary now.' 875 @echo '*** Warning: make $@ is unnecessary now.'
876 876
877# --------------------------------------------------------------------------- 877# ---------------------------------------------------------------------------
878# Kernel headers
879INSTALL_HDR_PATH=$(MODLIB)/abi
880export INSTALL_HDR_PATH
881
882PHONY += headers_install
883headers_install: include/linux/version.h
884 $(Q)unifdef -Ux /dev/null
885 $(Q)rm -rf $(INSTALL_HDR_PATH)/include
886 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include
887
888PHONY += headers_check
889headers_check: headers_install
890 $(Q)$(MAKE) -rR -f $(srctree)/scripts/Makefile.headersinst obj=include HDRCHECK=1
891
892# ---------------------------------------------------------------------------
878# Modules 893# Modules
879 894
880ifdef CONFIG_MODULES 895ifdef CONFIG_MODULES
@@ -1048,6 +1063,8 @@ help:
1048 @echo ' cscope - Generate cscope index' 1063 @echo ' cscope - Generate cscope index'
1049 @echo ' kernelrelease - Output the release version string' 1064 @echo ' kernelrelease - Output the release version string'
1050 @echo ' kernelversion - Output the version stored in Makefile' 1065 @echo ' kernelversion - Output the version stored in Makefile'
1066 @echo ' headers_install - Install sanitised kernel headers to INSTALL_HDR_PATH'
1067 @echo ' (default: /lib/modules/$$VERSION/abi)'
1051 @echo '' 1068 @echo ''
1052 @echo 'Static analysers' 1069 @echo 'Static analysers'
1053 @echo ' checkstack - Generate a list of stack hogs' 1070 @echo ' checkstack - Generate a list of stack hogs'