diff mbox

updated make_kconfig.pl for Ubuntu

Message ID 4CA22A79.9020309@hoogenraad.net (mailing list archive)
State Not Applicable
Headers show

Commit Message

Jan Hoogenraad Sept. 28, 2010, 5:48 p.m. UTC
None
diff mbox

Patch

diff -r cb34ee1c29fc -r 891128e7c333 v4l/scripts/make_kconfig.pl
--- a/v4l/scripts/make_kconfig.pl	Mon Sep 27 20:27:20 2010 +0200
+++ b/v4l/scripts/make_kconfig.pl	Tue Sep 28 19:44:59 2010 +0200
@@ -688,10 +688,7 @@ 
  # Check for full kernel sources and print a warning
  sub dmahcheck()
  {
-	my $dmahplace= "".$kernsrc;
-	$dmahplace =~ s-^/lib/modules/--g;
-	$dmahplace =~ s-/.*$--g;
- 
$dmahplace="/usr/src/linux-headers-$dmahplace/include/config/ieee1394/dma.h";
+	my $dmahplace="$kernsrc/include/config/ieee1394/dma.h";
  	if (! -e $dmahplace) {
  		print <<"EOF2";