[Buildroot] [PATCH 3/3] ljsyscall: refactor with BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS

Angelo Compagnucci angelo.compagnucci at gmail.com
Tue Mar 17 21:45:03 UTC 2015


Dear Francois Perrad,

2015-03-17 21:04 GMT+01:00 Francois Perrad <fperrad at gmail.com>:

Reviewed-by: Angelo Compagnucci <angelo.compagnucci at gmail.com>
> Signed-off-by: Francois Perrad <francois.perrad at gadz.org>
> ---

Patch is fine for me. Nothing to add.

>  package/ljsyscall/Config.in | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/package/ljsyscall/Config.in b/package/ljsyscall/Config.in
> index dcbd521..b9ff04d 100644
> --- a/package/ljsyscall/Config.in
> +++ b/package/ljsyscall/Config.in
> @@ -3,12 +3,12 @@ config BR2_PACKAGE_LJSYSCALL
>         # 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
>         help
>           An FFI implementation of the Linux and NetBSD kernel ABIs for LuaJIT.
>
>           http://github.com/justincormack/ljsyscall
>
>  comment "ljsyscall needs LuaJIT"
> -       depends on !BR2_PACKAGE_LUAJIT && (BR2_i386 || BR2_x86_64 || BR2_powerpc || BR2_arm || BR2_armeb)
> +       depends on !BR2_PACKAGE_LUAJIT && !BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
>
> --
> 2.1.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot



-- 
Profile: http://it.linkedin.com/in/compagnucciangelo



More information about the buildroot mailing list