Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 106508
b: refs/heads/master
c: db1bec4
h: refs/heads/master
v: v3
  • Loading branch information
Sam Ravnborg committed Jul 25, 2008
1 parent 4ac7caf commit 24b51f9
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6b36ab27d7161bc233e014ff38d8b17ae9975dee
refs/heads/master: db1bec4f5271d7799d481cd4d95fdc268bdd7614
7 changes: 4 additions & 3 deletions trunk/scripts/Makefile.headersinst
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,10 @@ printdir = $(patsubst $(INSTALL_HDR_PATH)/%/,%,$(dir $@))

quiet_cmd_install = INSTALL $(printdir) ($(words $(all-files))\
file$(if $(word 2, $(all-files)),s))
cmd_install = $(PERL) $< $(srctree)/$(obj) $(install) $(header-y); \
$(PERL) $< $(objtree)/$(obj) $(install) $(objhdr-y); \
touch $@
cmd_install = \
$(PERL) $< $(srctree)/$(obj) $(install) $(SRCARCH) $(header-y); \
$(PERL) $< $(objtree)/$(obj) $(install) $(SRCARCH) $(objhdr-y); \
touch $@

quiet_cmd_remove = REMOVE $(unwanted)
cmd_remove = rm -f $(unwanted-file)
Expand Down
13 changes: 8 additions & 5 deletions trunk/scripts/headers_install.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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__";

Expand Down

0 comments on commit 24b51f9

Please sign in to comment.