diff options
author | Arnd Bergmann <arnd@arndb.de> | 2009-09-21 16:37:12 +0200 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-10-11 23:21:25 +0200 |
commit | c01226c3145d173a0d38f9d5b4f229cc23d99ae2 (patch) | |
tree | 7f0eb41f9da3b412115694752d07cb85bb707bdb /scripts | |
parent | 17c5ca98833dc3d8f8dd4e85487da238c50cd8c9 (diff) | |
download | op-kernel-dev-c01226c3145d173a0d38f9d5b4f229cc23d99ae2.zip op-kernel-dev-c01226c3145d173a0d38f9d5b4f229cc23d99ae2.tar.gz |
warn about use of uninstalled kernel headers
User applications frequently hit problems when they try to use
the kernel headers directly, rather than the exported headers.
This adds an explicit warning for this case, and points to
a URL holding an explanation of why this is wrong and what
to do about it.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/headers_install.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/headers_install.pl b/scripts/headers_install.pl index c6ae405..b89ca2c 100644 --- a/scripts/headers_install.pl +++ b/scripts/headers_install.pl @@ -20,7 +20,7 @@ use strict; my ($readdir, $installdir, $arch, @files) = @ARGV; -my $unifdef = "scripts/unifdef -U__KERNEL__"; +my $unifdef = "scripts/unifdef -U__KERNEL__ -D__EXPORTED_HEADERS__"; foreach my $file (@files) { local *INFILE; |