[Buildroot] [PATCH v2] dieharder: new package
Baruch Siach
baruch at tkos.co.il
Sun May 17 03:22:19 UTC 2015
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 -
More information about the buildroot
mailing list