summaryrefslogtreecommitdiff
path: root/v4l
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2006-06-22 18:52:04 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-06-22 18:52:04 -0300
commitb00987276ad2c4bef7891591a6ca2081a7d1e1d4 (patch)
tree843e30f966d1d17f1c5d0914656767040328313a /v4l
parent9a9c8e49eea524960d5fbead3d5794a0bd936500 (diff)
downloadmediapointer-dvb-s2-b00987276ad2c4bef7891591a6ca2081a7d1e1d4.tar.gz
mediapointer-dvb-s2-b00987276ad2c4bef7891591a6ca2081a7d1e1d4.tar.bz2
Improved message when only kernel headers are found
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'v4l')
-rwxr-xr-xv4l/scripts/make_kconfig.pl23
1 files changed, 20 insertions, 3 deletions
diff --git a/v4l/scripts/make_kconfig.pl b/v4l/scripts/make_kconfig.pl
index 807fea2e6..c58f5b028 100755
--- a/v4l/scripts/make_kconfig.pl
+++ b/v4l/scripts/make_kconfig.pl
@@ -405,10 +405,27 @@ disable_config('DVB_CINERGYT2_TUNING');
my $mirodep="$kernel/sound/oss/aci.h";
if (!open IN, $mirodep) {
my $key="RADIO_MIROPCM20";
- printf "$key: $mirodep is missing.\n";
- printf "It seems that you are using a kernel-headers only package\n";
- printf "kernel-headers only won't provide you make menuconfig/xconfig/qconfig\n";
+print <<"EOF2";
+$key: $mirodep is missing.
+***WARNING:*** You do not have the full kernel sources installed.
+This does not prevent you from building the v4l-dvb tree if you have the
+kernel headers, but the full kernel source is required in order to use
+make menuconfig / xconfig / qconfig.
+
+If you are experiencing problems building the v4l-dvb tree, please try
+building against a vanilla kernel before reporting a bug.
+
+Vanilla kernels are available at http://kernel.org.
+On most distros, this will compile a newly downloaded kernel:
+
+cp /boot/config-`uname -r` <your kernel dir>/.config
+cd <your kernel dir>
+make all modules_install install
+
+Please see your distro's web site for instructions to build a new kernel.
+
+EOF2
$kernopts{$key}='n';
}
close IN;