git://git.jankratochvil.net
/
lufs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95e5567
)
Try to workaround Debian uname(1) does not support '-p'.
author
short
<>
Sun, 28 Sep 2003 16:07:44 +0000
(16:07 +0000)
committer
short
<>
Sun, 28 Sep 2003 16:07:44 +0000
(16:07 +0000)
kernel/Linux/prepmod.in
patch
|
blob
|
history
diff --git
a/kernel/Linux/prepmod.in
b/kernel/Linux/prepmod.in
index
9a2a9a9
..
6fd51c0
100755
(executable)
--- a/
kernel/Linux/prepmod.in
+++ b/
kernel/Linux/prepmod.in
@@
-223,7
+223,8
@@
sub build
{
my($kernel,$uname_r,$destmodule)=@_;
- my $arch=_readfile "uname -p|";
+ # Debian uname(1) does not support '-p'.
+ my $arch=_readfile "uname -p|" || _readfile "uname -m|";
chomp $arch;
my $single_config=-f "$kernel/.config";
if (!$single_config) {