On Thu, Sep 18, 2014 at 12:26 AM, Khem Raj <raj.k...@gmail.com> wrote:
> On 9/16/14 6:17 PM, Christopher Larson wrote: > > From: Christopher Larson <chris_lar...@mentor.com> > > > > Signed-off-by: Christopher Larson <chris_lar...@mentor.com> > > --- > > meta/recipes-kernel/blktrace/blktrace/ldflags.patch | 8 ++++++-- > > 1 file changed, 6 insertions(+), 2 deletions(-) > > > > diff --git a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch > b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch > > index b9c7c20..037d161 100644 > > --- a/meta/recipes-kernel/blktrace/blktrace/ldflags.patch > > +++ b/meta/recipes-kernel/blktrace/blktrace/ldflags.patch > > @@ -59,8 +59,12 @@ Signed-off-by: Fahad Usman <fahad_us...@mentor.com> > > INCS = -I. -I.. -I../btt > > OCFLAGS = -UCOUNT_IOS -UDEBUG -DNDEBUG > > XCFLAGS = -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 > > -@@ -35,7 +36,7 @@ btrecord: btrecord.o > > - $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) > > +@@ -32,10 +33,10 @@ clean: docsclean > > + $(CC) $(CFLAGS) -c -o $*.o $< > > + > > + btrecord: btrecord.o > > +- $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) > > ++ $(CC) $(CFLAGS) -o $@ $(filter %.o,$^) $(LDFLAGS) > > > > aren't you passing LDFLAGS to compile step as well here ? I don't think so. This rule creates btrecord from btrecord.o, it doesn't compile btrecord.c to btrecord.o, that's an entirely different rule. -- Christopher Larson clarson at kergoth dot com Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software Engineer, Mentor Graphics
-- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core