From: Sam Ravnborg Date: Sat, 25 Sep 2010 10:28:01 +0000 Subject: Re: [PATCH v2 01/22] Staging: cx25821: Makefile:cleaned up Message-Id: <20100925102801.GA3450@merkur.ravnborg.org> List-Id: References: <1285370890-8984-1-git-send-email-tdent48227@gmail.com> In-Reply-To: <1285370890-8984-1-git-send-email-tdent48227@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Tracey Dent Cc: greg@kroah.com, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org On Fri, Sep 24, 2010 at 07:27:49PM -0400, Tracey Dent wrote: > changed to use proper ccflags-y option > > Signed-off-by: Tracey Dent > --- > drivers/staging/cx25821/Makefile | 8 ++++---- > 1 files changed, 4 insertions(+), 4 deletions(-) > > diff --git a/drivers/staging/cx25821/Makefile b/drivers/staging/cx25821/Makefile > index d0eb16e..2f1c73e 100644 > --- a/drivers/staging/cx25821/Makefile > +++ b/drivers/staging/cx25821/Makefile > @@ -7,7 +7,7 @@ cx25821-objs := cx25821-core.o cx25821-cards.o cx25821-i2c.o \ > obj-$(CONFIG_VIDEO_CX25821) += cx25821.o > obj-$(CONFIG_VIDEO_CX25821_ALSA) += cx25821-alsa.o > > -EXTRA_CFLAGS += -Idrivers/media/video > -EXTRA_CFLAGS += -Idrivers/media/common/tuners > -EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core > -EXTRA_CFLAGS += -Idrivers/media/dvb/frontends > +ccflags-y := -Idrivers/media/video > +ccflags-y := -Idrivers/media/common/tuners > +ccflags-y := -Idrivers/media/dvb/dvb-core > +ccflags-y := -Idrivers/media/dvb/frontends This is wrong. First you assign "ccflags-y" the value -Idrivers/media/video And in next line you assign it a new value - loosing the old value. It should lok like this: > +ccflags-y := -Idrivers/media/video > +ccflags-y += -Idrivers/media/common/tuners > +ccflags-y += -Idrivers/media/dvb/dvb-core > +ccflags-y += -Idrivers/media/dvb/frontends In this way you append to the variable. You said in another mil that it builds. This tells me that either some of the assignments are not needes - or you just loose something that you are not aware of. Please go through all your patches and fix it up - I saw the above bug in the two patches I looked at. Sam