X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=scripts%2Fheaders_install.pl;h=68591cd0873127d2c00d2405f81975f2a37fafb8;hb=d41e2d7317cd55cc5135356a05c289537b0f6d70;hp=f0ff9a35acd07dac648c051542a33ffa0d2ed6db;hpb=7712401ae9006fc9d9b9a3e7861dc73781429a89;p=karo-tx-linux.git 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 @@ # headers_install prepare the listed header files for use in # user space and copy the files to their destination. # -# Usage: headers_install.pl odir installdir [files...] -# odir: dir to open files -# install: dir to install the files -# files: list of files to check +# Usage: headers_install.pl readdir installdir arch [files...] +# readdir: dir to open files +# installdir: dir to install the files +# arch: current architecture +# arch is used to force a reinstallation when the arch +# changes because kbuild then detect a command line change. +# files: list of files to check # # Step in preparation for users space: # 1) Drop all use of compiler.h definitions @@ -16,7 +19,7 @@ use strict; use warnings; -my ($readdir, $installdir, @files) = @ARGV; +my ($readdir, $installdir, $arch, @files) = @ARGV; my $unifdef = "scripts/unifdef -U__KERNEL__";