diff options
Diffstat (limited to 'scripts/headers_install.pl')
-rw-r--r-- | scripts/headers_install.pl | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/scripts/headers_install.pl b/scripts/headers_install.pl index f0ff9a35acd0..68591cd08731 100644 --- a/scripts/headers_install.pl +++ b/scripts/headers_install.pl | |||
@@ -3,10 +3,13 @@ | |||
3 | # headers_install prepare the listed header files for use in | 3 | # headers_install prepare the listed header files for use in |
4 | # user space and copy the files to their destination. | 4 | # user space and copy the files to their destination. |
5 | # | 5 | # |
6 | # Usage: headers_install.pl odir installdir [files...] | 6 | # Usage: headers_install.pl readdir installdir arch [files...] |
7 | # odir: dir to open files | 7 | # readdir: dir to open files |
8 | # install: dir to install the files | 8 | # installdir: dir to install the files |
9 | # files: list of files to check | 9 | # arch: current architecture |
10 | # arch is used to force a reinstallation when the arch | ||
11 | # changes because kbuild then detect a command line change. | ||
12 | # files: list of files to check | ||
10 | # | 13 | # |
11 | # Step in preparation for users space: | 14 | # Step in preparation for users space: |
12 | # 1) Drop all use of compiler.h definitions | 15 | # 1) Drop all use of compiler.h definitions |
@@ -16,7 +19,7 @@ | |||
16 | use strict; | 19 | use strict; |
17 | use warnings; | 20 | use warnings; |
18 | 21 | ||
19 | my ($readdir, $installdir, @files) = @ARGV; | 22 | my ($readdir, $installdir, $arch, @files) = @ARGV; |
20 | 23 | ||
21 | my $unifdef = "scripts/unifdef -U__KERNEL__"; | 24 | my $unifdef = "scripts/unifdef -U__KERNEL__"; |
22 | 25 | ||