From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] New Package: latencytop
Date: Wed, 4 Apr 2012 13:42:03 +0300 [thread overview]
Message-ID: <20120404104203.GB3282@tarshish> (raw)
In-Reply-To: <1333535085-10290-1-git-send-email-qais.yousef@imgtec.com>
Hi Qais,
On Wed, Apr 04, 2012 at 11:24:45AM +0100, Qais Yousef wrote:
>
> Signed-off-by: Qais Yousef <qais.yousef@imgtec.com>
> ---
[snip]
> diff --git a/package/latencytop/latencytop.mk
> b/package/latencytop/latencytop.mk
> new file mode 100644
> index 0000000..c33eee9
> --- /dev/null
> +++ b/package/latencytop/latencytop.mk
> @@ -0,0 +1,22 @@
> +#############################################################
> +#
> +# latencytop
> +#
> +#############################################################
> +
> +LATENCYTOP_VERSION = 0.5
> +LATENCYTOP_SITE = http://www.latencytop.org/download/
> +LATENCYTOP_DEPENDENCIES = libglib2 ncurses
> +
> +# NOTE: GTK is heavy weight, we intentionally build the text (ncurses)
> +# version only
> +define LATENCYTOP_BUILD_CMDS
> + $(MAKE) CC="$(TARGET_CC)" LD="$(TARGET_LD)" \
> + PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" HAS_GTK_GUI=0 -C $(@D)
You can use $(TARGET_CONFIGURE_OPTS), which includes CC, LD, and PKG_CONFIG.
baruch
> +endef
> +
> +define LATENCYTOP_INSTALL_TARGET_CMDS
> + $(MAKE) install -C $(@D) DESTDIR=$(TARGET_DIR)
> +endef
> +
> +$(eval $(call GENTARGETS))
> --
> 1.7.1
--
http://baruch.siach.name/blog/ ~. .~ Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
- baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -
next prev parent reply other threads:[~2012-04-04 10:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-04 10:24 [Buildroot] [PATCH] New Package: latencytop Qais Yousef
2012-04-04 10:42 ` Baruch Siach [this message]
2012-04-04 11:11 ` Qais Yousef
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=20120404104203.GB3282@tarshish \
--to=baruch@tkos.co.il \
--cc=buildroot@busybox.net \
/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