Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 08/18] lmbench: add support to use libtirpc when available
Date: Sun, 04 Nov 2012 01:01:10 +0100	[thread overview]
Message-ID: <5095B046.7080604@mind.be> (raw)
In-Reply-To: <50a55c7abef1a7f980e000258521ecc703226b31.1351964808.git.thomas.petazzoni@free-electrons.com>

On 11/03/12 18:47, Thomas Petazzoni wrote:
> -	# Uses pmap_set, pmap__unset, pmap_getport, etc.
> -	depends on BR2_TOOLCHAIN_HAS_NATIVE_RPC
> +	select BR2_PACKAGE_LIBTIRPC if !BR2_TOOLCHAIN_HAS_NATIVE_RPC
>   	help
>   	  LMbench is a suite of simple, portable,
>   	  ANSI/C microbenchmarks for UNIX/POSIX.
>
>   	http://sourceforge.net/projects/lmbench/
> -
> -comment "lmbench requires a toolchain with RPC support"
> -	depends on !BR2_TOOLCHAIN_HAS_NATIVE_RPC
> diff --git a/package/lmbench/lmbench.mk b/package/lmbench/lmbench.mk
> index d3d0f8f..1932adb 100644
> --- a/package/lmbench/lmbench.mk
> +++ b/package/lmbench/lmbench.mk
> @@ -9,6 +9,15 @@ LMBENCH_SITE:=http://downloads.sourceforge.net/project/lmbench/development/lmben
>   LMBENCH_LICENSE =  lmbench license (based on GPLv2)
>   LMBENCH_LICENSE_FILES = COPYING COPYING-2
>
> +LMBENCH_CFLAGS = $(TARGET_CFLAGS)
> +LMBENCH_LDLIBS = $(TARGET_LDFLAGS)
> +
> +ifeq ($(BR2_PACKAGE_LIBTIRPC),y)
> +LMBENCH_DEPENDENCIES += libtirpc
> +LMBENCH_CFLAGS += -I$(STAGING_DIR)/usr/include/tirpc/
> +LMBENCH_LDFLAGS += -ltirpc
> +endif

  For discussion tomorrow: do we want to use a similar strategy as Yann's proposal
for gettext, i.e.:

select BR2_NEEDS_RPC

LMBENCH_DEPENDENCIES += $(rpc-dependency)
LMBENCH_CFLAGS       += $(rpc-cflags)
LMBENCH_LDFLAGS      += $(rpc-ldflags)


  Regards,
  Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

  reply	other threads:[~2012-11-04  0:01 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-03 17:47 [Buildroot] [pull request] Pull request for branch for-2012.11/rpc-support Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 01/18] uClibc: use the Buildroot toolchain options instead of the hidden common options Thomas Petazzoni
2012-11-03 23:32   ` Arnout Vandecappelle
2012-11-04  0:11   ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 02/18] busybox: don't force FEATURE_NFS_MOUNT Thomas Petazzoni
2012-11-03 23:35   ` Arnout Vandecappelle
2012-11-04  0:12   ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 03/18] toolchain-crosstool-ng: use the Crosstool-ng config options instead of the common hidden ones Thomas Petazzoni
2012-11-03 23:39   ` Arnout Vandecappelle
2012-11-04  0:13   ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 04/18] Rename BR2_INET_RPC to BR2_TOOLCHAIN_HAS_NATIVE_RPC Thomas Petazzoni
2012-11-03 23:42   ` Arnout Vandecappelle
2012-11-04  0:15   ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 05/18] toolchain-external: improve glibc support to test availability of RPC Thomas Petazzoni
2012-11-03 23:45   ` Arnout Vandecappelle
2012-11-03 17:47 ` [Buildroot] [PATCH 06/18] libtirpc: new package Thomas Petazzoni
2012-11-03 23:53   ` Arnout Vandecappelle
2012-11-04  0:47   ` Peter Korsgaard
2012-11-03 17:47 ` [Buildroot] [PATCH 07/18] busybox: add support to link against libtirpc when available Thomas Petazzoni
2012-11-03 23:56   ` Arnout Vandecappelle
2012-11-03 17:47 ` [Buildroot] [PATCH 08/18] lmbench: add support to use " Thomas Petazzoni
2012-11-04  0:01   ` Arnout Vandecappelle [this message]
2012-11-03 17:47 ` [Buildroot] [PATCH 09/18] nfs-utils: add support to use RPC support from libtirpc Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 10/18] rpcbind: new package Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 11/18] portmap: mention that rpcbind is the project that superseds portmap Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 12/18] quota: add support to use RPC support from libtirpc Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 13/18] samba: unconditionally enable --with-sys-quotas Thomas Petazzoni
2012-11-03 17:47 ` [Buildroot] [PATCH 14/18] xinetd: add support to use RPC support from libtirpc Thomas Petazzoni
2012-11-03 17:48 ` [Buildroot] [PATCH 15/18] toolchain-external: add Sourcery CodeBench SuperH 2012.03 Thomas Petazzoni
2012-11-04  6:52   ` Baruch Siach
2012-11-03 17:48 ` [Buildroot] [PATCH 16/18] toolchain-external: add Sourcery CodeBench x86 2012.03 Thomas Petazzoni
2012-11-04  3:15   ` Arnout Vandecappelle
2012-11-03 17:48 ` [Buildroot] [PATCH 17/18] netkitbase: mark as deprecated Thomas Petazzoni
2012-11-04  0:18   ` Peter Korsgaard
2012-11-03 17:48 ` [Buildroot] [PATCH 18/18] netkittelnet: " Thomas Petazzoni
2012-11-04  0:18   ` Peter Korsgaard

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=5095B046.7080604@mind.be \
    --to=arnout@mind.be \
    --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