From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] dieharder: new package
Date: Sun, 17 May 2015 06:22:19 +0300 [thread overview]
Message-ID: <20150517032219.GA2845@tarshish> (raw)
In-Reply-To: <1431778802-15637-1-git-send-email-julien.viarddegalbert@openwide.fr>
Hi Julien,
On Sat, May 16, 2015 at 02:20:02PM +0200, julien.viarddegalbert at openwide.fr wrote:
> +# fix endiannes detection
> +ifeq ($(BR2_ENDIAN),"BIG")
> +BR2_AC_CV_C_ENDIAN = ac_cv_c_endian=big
> +else
> +BR2_AC_CV_C_ENDIAN = ac_cv_c_endian=little
> +endif
> +DIEHARDER_CONF_OPTS = $(BR2_AC_CV_C_ENDIAN) --includedir=$(STAGING_DIR)/usr/include
The make variables namespace is global. Variables with the BR2_ prefix are
reserved for Buildroot use. You should not use the BR2_ prefix for package
specific variables. But you don't need this helper variable here, anyway:
DIEHARDER_CONF_OPTS = --includedir=$(STAGING_DIR)/usr/include
ifeq ($(BR2_ENDIAN),"BIG")
DIEHARDER_CONF_OPTS += ac_cv_c_endian=big
else
DIEHARDER_CONF_OPTS += ac_cv_c_endian=little
endif
baruch
--
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 -
prev parent reply other threads:[~2015-05-17 3:22 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-16 12:20 [Buildroot] [PATCH v2] dieharder: new package julien.viarddegalbert at openwide.fr
2015-05-17 3:22 ` Baruch Siach [this message]
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=20150517032219.GA2845@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.