[Buildroot] [PATCH 2/3] ljlinenoise: refactor with BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Mar 17 20:32:50 UTC 2015


Dear Francois Perrad,

On Tue, 17 Mar 2015 21:04:48 +0100, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---
>  package/ljlinenoise/Config.in | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/package/ljlinenoise/Config.in b/package/ljlinenoise/Config.in
> index 17be1be..ce1a156 100644
> --- a/package/ljlinenoise/Config.in
> +++ b/package/ljlinenoise/Config.in
> @@ -5,7 +5,7 @@ config BR2_PACKAGE_LJLINENOISE
>  	# ljsyscall is specifically for LuaJIT, not Lua.
>  	depends on BR2_PACKAGE_LUAJIT
>  	# ljsyscall is only available for some target architectures
> -	depends on BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_arm || BR2_armeb
> +	depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS

Are you sure?

BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS is clearly not the same as "BR2_i386
|| BR2_x86_64 || BR2_powerpc || BR2_arm || BR2_armeb". For example,
mips/mipsel are supported in LuaJIT, but not in the current condition
of ljlinenoise.

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list