diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-04 12:55:45 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-07-04 12:55:45 -0700 |
commit | 6fa0cb1141da80eed4f86155fb51931bc1c31888 (patch) | |
tree | df9b3c378ae4f44260eaae1a4b9d5c4ccf7bb641 /scripts/hdrcheck.sh | |
parent | c6482dde1c2811afba289b2344268f850595f350 (diff) | |
parent | 257a5bdeb0441789d8e34e1b3e92b26d0f51bbf0 (diff) | |
download | linux-6fa0cb1141da80eed4f86155fb51931bc1c31888.tar.gz linux-6fa0cb1141da80eed4f86155fb51931bc1c31888.tar.bz2 linux-6fa0cb1141da80eed4f86155fb51931bc1c31888.zip |
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 'scripts/hdrcheck.sh')
-rwxr-xr-x | scripts/hdrcheck.sh | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/hdrcheck.sh b/scripts/hdrcheck.sh new file mode 100755 index 000000000000..b3bb683b56b6 --- /dev/null +++ b/scripts/hdrcheck.sh @@ -0,0 +1,8 @@ +#!/bin/sh + +for FILE in `grep '^#include <' $2 | cut -f2 -d\< | cut -f1 -d\> | egrep ^linux\|^asm` ; do + if [ ! -r $1/$FILE ]; then + echo $2 requires $FILE, which does not exist + exit 1 + fi +done |