[Buildroot] [PATCH v3] New Package: latencytop

Qais Yousef Qais.Yousef at imgtec.com
Wed Apr 18 11:08:11 UTC 2012


> On Tuesday 17 April 2012 18:28:55 Qais Yousef wrote:
> > +--- latencytop-0.5/Makefile.old        2012-04-17
16:22:25.896083743 +0100
> > ++++ latencytop-0.5/Makefile    2012-04-17 16:23:01.318057605 +0100
> > +@@ -4,11 +4,11 @@
> > + DESTDIR =
> > + SBINDIR = /usr/sbin
> > + XCFLAGS = -W  -g `pkg-config --cflags glib-2.0`
-D_FORTIFY_SOURCE=2 -
> Wno-sign-compare
> > +-LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncursesw
> > ++LDF = -Wl,--as-needed `pkg-config --libs glib-2.0`   -lncurses
> > +
> > + OBJS= latencytop.o text_display.o translate.o fsync.o
> > +
> > +-ifdef HAS_GTK_GUI
> > ++ifneq ($(HAS_GTK_GUI),0)
> 
>  I think this one is unneeded as well if you use HAS_GTK_GUI= (without
the
> 0).  So:
> 
> > +       $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) HAS_GTK_GUI=0
> 
> would become
> 
> 	$(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) HAS_GTK_GUI=
> 
>  Regards,
>  Arnout

Thanks, just sent an updated version. I realised that the patch wasn't
signed off so fixed that too :)

Cheers,
Qais




More information about the buildroot mailing list