public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Sam Ravnborg <sam@ravnborg.org>
Cc: Gene Heskett <gene.heskett@verizon.net>,
	linux-kernel@vger.kernel.org, Michael Krufky <mkrufky@m1k.net>,
	Johannes Stezenbach <js@linuxtv.org>
Subject: Re: Linux 2.6.15-rc2
Date: Wed, 23 Nov 2005 19:38:39 +0100	[thread overview]
Message-ID: <20051123183839.GR3963@stusta.de> (raw)
In-Reply-To: <20051123182609.GA8336@mars.ravnborg.org>

On Wed, Nov 23, 2005 at 07:26:09PM +0100, Sam Ravnborg wrote:
> On Wed, Nov 23, 2005 at 06:42:37PM +0100, Adrian Bunk wrote:
> >  EXTRA_CFLAGS += -I$(src)/..
> Wonder if this compiles with O=...
> 
> > -ifneq ($(CONFIG_VIDEO_BUF_DVB),n)
> > +ifneq ($(CONFIG_VIDEO_BUF_DVB),)
> >   EXTRA_CFLAGS += -DHAVE_VIDEO_BUF_DVB=1
> >  endif
> > -ifneq ($(CONFIG_DVB_CX22702),n)
> > +ifneq ($(CONFIG_DVB_CX22702),)
> >   EXTRA_CFLAGS += -DHAVE_CX22702=1
> >  endif
> > -ifneq ($(CONFIG_DVB_OR51132),n)
> > +ifneq ($(CONFIG_DVB_OR51132),)
> >   EXTRA_CFLAGS += -DHAVE_OR51132=1
> >  endif
> > -ifneq ($(CONFIG_DVB_LGDT330X),n)
> > +ifneq ($(CONFIG_DVB_LGDT330X),)
> >   EXTRA_CFLAGS += -DHAVE_LGDT330X=1
> >  endif
> > -ifneq ($(CONFIG_DVB_MT352),n)
> > +ifneq ($(CONFIG_DVB_MT352),)
> >   EXTRA_CFLAGS += -DHAVE_MT352=1
> >  endif
> > -ifneq ($(CONFIG_DVB_NXT200X),n)
> > +ifneq ($(CONFIG_DVB_NXT200X),)
> >   EXTRA_CFLAGS += -DHAVE_NXT200X=1
> >  endif
> > -
> 
> If we stick with HAVE_XXX then please use following style:
> 
> extra-cflags-$(CONFIG_VIDEO_BUF_DVB) += -DHAVE_VIDEO_BUF_DVB=1
> extra-cflags-$(CONFIG_DVB_CX22702)   += -DHAVE_CX22702=1
> extra-cflags-$(CONFIG_DVB_OR51132)   += -DHAVE_OR51132=1
> extra-cflags-$(CONFIG_DVB_LGDT330X)  += -DHAVE_LGDT330X=1
> extra-cflags-$(CONFIG_DVB_MT352)     += -DHAVE_MT352=1
> extra-cflags-$(CONFIG_DVB_NXT200X)   += -DHAVE_NXT200X=1
> 
> EXTRA_CFLAGS += $(extra-cflags-y) $(extra-cflags-m)

And this does still not solve all problems, the whole approach is a 
mess.

E.g. CONFIG_VIDEO_CX88_DVB=y, CONFIG_DVB_CX22702=m is one of the many 
cases that still won't compile.

I'll try to find a way for doing this all properly.

> 	Sam

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


  reply	other threads:[~2005-11-23 18:38 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-20  3:40 Linux 2.6.15-rc2 Linus Torvalds
2005-11-20  5:18 ` Gene Heskett
2005-11-20 17:02   ` Gene Heskett
2005-11-20 17:37     ` Gene Heskett
2005-11-20 19:17       ` Gene Heskett
2005-11-20 22:36   ` Kasper Sandberg
2005-11-20 23:58     ` Gene Heskett
2005-11-21 21:17       ` Kasper Sandberg
2005-11-21 23:52         ` Gene Heskett
2005-11-23  9:04           ` Kasper Sandberg
2005-11-21  0:15   ` Johannes Stezenbach
2005-11-21  1:07     ` Gene Heskett
2005-11-21  1:32       ` Johannes Stezenbach
2005-11-21  1:49         ` Gene Heskett
2005-11-23  1:56           ` Michael Krufky
2005-11-23  4:36             ` Gene Heskett
2005-11-23 17:42               ` Adrian Bunk
2005-11-23 18:19                 ` Gene Heskett
2005-11-23 18:26                 ` Sam Ravnborg
2005-11-23 18:38                   ` Adrian Bunk [this message]
2005-11-26 20:30                   ` [PATCH] fix broken hybrid v4l-dvb frontend selection Michael Krufky
2005-11-23 18:31                 ` Linux 2.6.15-rc2 Gene Heskett
2005-11-23 19:17                 ` Michael Krufky
2005-11-23 19:36                   ` Gene Heskett
2005-11-23 19:54                     ` Michael Krufky
2005-11-23 20:14                       ` Gene Heskett
2005-11-23 20:28                         ` Michael Krufky
2005-11-23 21:26                           ` Hugh Dickins
2005-11-23 22:36                             ` Gene Heskett
2005-11-23 23:40                               ` Hugh Dickins
2005-11-23 23:53                                 ` Gene Heskett
2005-11-24  0:37                                 ` Gene Heskett
2005-11-24  7:45                                   ` Hugh Dickins
2005-11-24 15:15                                     ` Gene Heskett
2005-11-24 17:02                                     ` Michael Krufky
2005-11-24 19:07                                       ` [PATCH] hybrid v4l/dvb advanced frontend selection fix Michael Krufky
2005-11-24  4:40                               ` Linux 2.6.15-rc2 Paul Jackson
2005-11-23 20:38                   ` Adrian Bunk
2005-11-23 20:49                     ` Michael Krufky
2005-11-23 21:04                       ` Adrian Bunk
2005-11-20 13:20 ` Michael Geithe
2005-11-20 14:52   ` cinergyT2 oops (was Re: Linux 2.6.15-rc2) Alexey Dobriyan
2005-11-20 15:04     ` Michael Geithe
2005-11-20 16:13   ` Linux 2.6.15-rc2 Dmitry Torokhov
2005-11-20 19:13     ` Michael Geithe
2005-11-22  4:30 ` Jeffrey Hundstad
2005-11-22 23:00   ` Andrew Morton
2005-11-23  0:50     ` Linus Torvalds
2005-11-23  1:05       ` Andrew Morton
2005-11-23  1:32         ` Andi Kleen
2005-11-23  1:43           ` Linus Torvalds
2005-11-23  2:16           ` David S. Miller
2005-11-23  1:39         ` Linus Torvalds
2005-11-23  2:08           ` Andrew Morton
2005-11-23  3:41           ` Jeffrey Hundstad
2005-11-23  3:48             ` Linus Torvalds
2005-11-23 16:48               ` Jeffrey Hundstad
2005-11-23  5:01           ` Zan Lynx
2005-11-23  1:14       ` Zan Lynx
2005-11-23  4:42       ` Gene Heskett
2005-11-24 12:37 ` Ed Tomlinson
2005-11-24 13:07   ` Andreas Ericsson
2005-11-24 18:44     ` Linus Torvalds
2005-11-24 19:42       ` Junio C Hamano
2005-11-24 19:57         ` Linus Torvalds
2005-11-24 21:02           ` Junio C Hamano
2005-11-24 18:37   ` Linus Torvalds
2005-11-24 19:52     ` Nick Hengeveld
2005-11-25  2:50       ` Ed Tomlinson
2005-11-25  8:42         ` Andreas Ericsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051123183839.GR3963@stusta.de \
    --to=bunk@stusta.de \
    --cc=gene.heskett@verizon.net \
    --cc=js@linuxtv.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mkrufky@m1k.net \
    --cc=sam@ravnborg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox