Lines 1725-1730
Link Here
|
1725 |
sub check_answer_headerdir { |
1725 |
sub check_answer_headerdir { |
1726 |
my $answer = shift; |
1726 |
my $answer = shift; |
1727 |
my $source = shift; |
1727 |
my $source = shift; |
|
|
1728 |
|
1729 |
=begin comment |
1730 |
|
1728 |
my $pattern = '@@VMWARE@@'; |
1731 |
my $pattern = '@@VMWARE@@'; |
1729 |
my $header_version_uts; |
1732 |
my $header_version_uts; |
1730 |
my $header_smp; |
1733 |
my $header_smp; |
Lines 1867-1872
Link Here
|
1867 |
} |
1870 |
} |
1868 |
} |
1871 |
} |
1869 |
|
1872 |
|
|
|
1873 |
=end comment |
1874 |
|
1875 |
=cut |
1876 |
|
1870 |
return $answer; |
1877 |
return $answer; |
1871 |
} |
1878 |
} |
1872 |
$gAnswerSize{'headerdir'} = 20; |
1879 |
$gAnswerSize{'headerdir'} = 20; |
Lines 2722-2727
Link Here
|
2722 |
$gcc_version = direct_command(shell_string($gHelper{'gcc'}) |
2729 |
$gcc_version = direct_command(shell_string($gHelper{'gcc'}) |
2723 |
. ' -dumpversion'); |
2730 |
. ' -dumpversion'); |
2724 |
chomp($gcc_version); |
2731 |
chomp($gcc_version); |
|
|
2732 |
|
2733 |
=begin comment |
2734 |
|
2725 |
if ($gcc_version =~ /^(egcs-)?(\d+(\.\d+)*)/) { |
2735 |
if ($gcc_version =~ /^(egcs-)?(\d+(\.\d+)*)/) { |
2726 |
$gSystem{'gcc_version'} = $2; |
2736 |
$gSystem{'gcc_version'} = $2; |
2727 |
} else { |
2737 |
} else { |
Lines 2751-2756
Link Here
|
2751 |
. 'files that match your running kernel?', |
2761 |
. 'files that match your running kernel?', |
2752 |
'HEADER_DIR', 'headerdir', $headerdir); |
2762 |
'HEADER_DIR', 'headerdir', $headerdir); |
2753 |
|
2763 |
|
|
|
2764 |
=end comment |
2765 |
|
2766 |
=cut |
2767 |
|
2768 |
$headerdir = '/usr/src/linux/include'; |
2754 |
$gFirstModuleBuild = 0; |
2769 |
$gFirstModuleBuild = 0; |
2755 |
} |
2770 |
} |
2756 |
|
2771 |
|
Lines 2882-2887
Link Here
|
2882 |
|
2897 |
|
2883 |
if ($gOption{'compile'} == 1) { |
2898 |
if ($gOption{'compile'} == 1) { |
2884 |
db_add_answer('BUILDR_' . $name, 'yes'); |
2899 |
db_add_answer('BUILDR_' . $name, 'yes'); |
|
|
2900 |
|
2901 |
=begin comment |
2902 |
|
2885 |
} else { |
2903 |
} else { |
2886 |
my @mod_list; |
2904 |
my @mod_list; |
2887 |
|
2905 |
|
Lines 2928-2933
Link Here
|
2928 |
'BUILDR_' . $name, 'yesno', 'yes') eq 'no') { |
2946 |
'BUILDR_' . $name, 'yesno', 'yes') eq 'no') { |
2929 |
return 'no'; |
2947 |
return 'no'; |
2930 |
} |
2948 |
} |
|
|
2949 |
|
2950 |
=end comment |
2951 |
|
2952 |
=cut |
2953 |
|
2931 |
} |
2954 |
} |
2932 |
|
2955 |
|
2933 |
if (build_module($name, $mod_dir . '/source') eq 'no') { |
2956 |
if (build_module($name, $mod_dir . '/source') eq 'no') { |