docs/xen-headers: allow headers to be symlinks
PATCH 1/1 docs/xen-headers: allow headers to be symlinks
There's no apparent reason not to permit this, and since we don't support out-of-source-tree builds, the least overhead way of doing multiple, differently configured (perhaps different architecture) builds from a single source tree is to create symlinked build trees.
docs/xen-headers +1 -1
@@ -368,7 +368,7 @@ foreach $pass (qw(1 2)) { find({ wanted => sub { return unless m/\.h$/; - lstat $File::Find::name or die "$File::Find::name $!"; + stat $File::Find::name or die "$File::Find::name $!"; -f _ or die "$File::Find::name"; substr($File::Find::name, 0, 1+length $basedir) eq "$basedir/"
docs/xen-headers: allow headers to be symlinks
There's no apparent reason not to permit this, and since we don't support out-of-source-tree builds, the least overhead way of doing multiple, differently configured (perhaps different architecture) builds from a single source tree is to create symlinked build trees.
docs/xen-headers +1 -1
@@ -368,7 +368,7 @@ foreach $pass (qw(1 2)) { find({ wanted => sub { return unless m/\.h$/; - lstat $File::Find::name or die "$File::Find::name $!"; + stat $File::Find::name or die "$File::Find::name $!"; -f _ or die "$File::Find::name"; substr($File::Find::name, 0, 1+length $basedir) eq "$basedir/"
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel
Quoted 6 lines · Jan Beulich
There's no apparent reason not to permit this, and since we don't support out-of-source-tree builds, the least overhead way of doing multiple, differently configured (perhaps different architecture) builds from a single source tree is to create symlinked build trees.
Signed-off-by Jan Beulich <[email protected]>
Seems reasonable and applying the patch resulted in no change in the output on this end:
Quoted 15 lines
docs/xen-headers +1
-1@@ -368,7 +368,7 @@ foreach $pass (qw(1 2)) { find({ wanted => sub { return unless m/\.h$/; - lstat $File::Find::name or die "$File::Find::name $!"; + stat $File::Find::name or die "$File::Find::name $!"; -f _ or die "$File::Find::name"; substr($File::Find::name, 0, 1+length $basedir) eq "$basedir/"
Ian Campbell writes ("Re: [Xen-devel] [PATCH] docs/xen-headers: allow headers to be symlinks"):
Quoted 6 lines · Jan Beulich
Quoted 5 lines
There's no apparent reason not to permit this, and since we don't support out-of-source-tree builds, the least overhead way of doing multiple, differently configured (perhaps different architecture) builds from a single source tree is to create symlinked build trees.
Quoted 6 lines
Quoted 1 line
Signed-off-by Jan Beulich <[email protected]>Seems reasonable and applying the patch resulted in no change in the output on this end:
Acked-by Ian Campbell <[email protected]>
Indeed, this is correct. I see it's been applied.
Ian.