From patchwork Mon Sep 27 19:12:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Mauro Carvalho Chehab X-Patchwork-Id: 213122 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o8RJCp35004808 for ; Mon, 27 Sep 2010 19:12:51 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759971Ab0I0TMt (ORCPT ); Mon, 27 Sep 2010 15:12:49 -0400 Received: from mail-px0-f174.google.com ([209.85.212.174]:64515 "EHLO mail-px0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755640Ab0I0TMt (ORCPT ); Mon, 27 Sep 2010 15:12:49 -0400 Received: by pxi10 with SMTP id 10so1527456pxi.19 for ; Mon, 27 Sep 2010 12:12:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=O+dvlNluaQNPP+gldC62sbdPzCZkosfHDrphd5F0fK0=; b=B5VvlZ2ywBbjYzfhnG1efcRZsVY2WyD+fFHhFKbVQ4UYGxtpp3IEc7FEz84kcgywaV x5IiVT9ud3Mw/VqJeYT8GnSn8GQl8uV8Avvi+zOMUh++Sf3tJG6gpBstuiAGzi5qtQEF Ys9qkxElKI0NnNq864XYUFhExN0SPfP0SWEE4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=IG+2ZTk8lMP8uQqt+bEcipDpkzP4UGav5TWtrkF5C/QS6wHsyqR3KEZ3Q17u/yb+fs MtBqutyqRQybqVlIR8es7uC3OaSOCbkrn8L6o1EphnmHYpmKICj2BeaZ3cDl7mQ2QjwM N1aEGTMmUdFTrNptJdmJkrIP73W6FLJhwm8m4= Received: by 10.142.226.1 with SMTP id y1mr6890449wfg.292.1285614768521; Mon, 27 Sep 2010 12:12:48 -0700 (PDT) Received: from [192.168.30.170] (201-13-170-25.dial-up.telesp.net.br [201.13.170.25]) by mx.google.com with ESMTPS id u2sm1610451vcr.8.2010.09.27.12.12.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 27 Sep 2010 12:12:46 -0700 (PDT) Message-ID: <4CA0ECA9.30208@gmail.com> Date: Mon, 27 Sep 2010 16:12:41 -0300 From: Mauro Carvalho Chehab User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100827 Red Hat/3.1.3-1.el6 Lightning/1.0b2 Thunderbird/3.1.3 MIME-Version: 1.0 To: Jan Hoogenraad CC: Douglas Schilling Landgraf , "Ole W. Saastad" , linux-media@vger.kernel.org Subject: Re: updated make_kconfig.pl for Ubuntu References: <1284493110.1801.57.camel@sofia> <4C924EB8.9070500@hoogenraad.net> <4C93364C.3040606@hoogenraad.net> <4C934806.7050503@gmail.com> <4C934C10.2060801@hoogenraad.net> <4C93800B.8070902@gmail.com> <4C9F7267.7000707@hoogenraad.net> <4CA018C4.9000507@gmail.com> <4CA0E554.40406@hoogenraad.net> In-Reply-To: <4CA0E554.40406@hoogenraad.net> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 27 Sep 2010 19:12:51 +0000 (UTC) diff -r 1da5fed5c8b2 v4l/scripts/make_kconfig.pl --- a/v4l/scripts/make_kconfig.pl Sun Sep 19 02:23:09 2010 -0300 +++ b/v4l/scripts/make_kconfig.pl Mon Sep 27 16:04:50 2010 -0300 @@ -597,6 +597,9 @@ disable_config('STAGING_BROKEN'); $intopt { "DVB_MAX_ADAPTERS" } = 8; +#check broken Ubuntu headers +dmahcheck(); + # Check dependencies my %newconfig = checkdeps(); @@ -681,3 +684,27 @@ EOF3 sleep 5; } + +# 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"; + if (! -e $dmahplace) { + print <<"EOF2"; + +***WARNING:*** File $dmahplace not present. +This problem is at least present on Ubuntu systems: +https://bugs.launchpad.net/ubuntu/+source/linux-kernel-headers/+bug/134222 + +Therefore disabling FIREDTV driver. + +EOF2 + + disable_config('DVB_FIREDTV'); + + } + sleep 5; +}