package/luajit: rework BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
This commit reworks how BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS is defined to follow the recommended syntax. Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Francois Perrad <francois.perrad@gadz.org> Cc: Yann E. MORIN <yann.morin.1998@free.fr> [yann.morin.1998@free.fr: alphabetical order] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
This commit is contained in:
parent
1477b60d4e
commit
18557c6757
@ -1,10 +1,10 @@
|
||||
config BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
|
||||
bool
|
||||
default y if BR2_i386 || \
|
||||
(BR2_x86_64 && BR2_HOSTARCH='x86_64') || \
|
||||
BR2_powerpc || BR2_arm || BR2_armeb || BR2_aarch64 || \
|
||||
((BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT && \
|
||||
!BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6)
|
||||
default y if BR2_arm || BR2_armeb || BR2_aarch64
|
||||
default y if BR2_i386 || (BR2_x86_64 && BR2_HOSTARCH='x86_64')
|
||||
default y if (BR2_mips || BR2_mipsel) && !BR2_MIPS_SOFT_FLOAT \
|
||||
&& !BR2_MIPS_CPU_MIPS32R6 && !BR2_MIPS_CPU_MIPS64R6
|
||||
default y if BR2_powerpc
|
||||
# -m32 flag is used for 32bit builds and host-luajit has
|
||||
# limited architecture support
|
||||
depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
|
||||
|
Loading…
Reference in New Issue
Block a user