xref: /OK3568_Linux_fs/buildroot/package/libgpg-error/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
2	bool
3	# see src/syscfg/
4	default y if \
5		BR2_aarch64	|| BR2_aarch64_eb	|| BR2_arm	|| \
6		BR2_armeb	|| BR2_i386		|| BR2_mips	|| \
7		BR2_mipsel	|| BR2_mips64		|| BR2_mips64el	|| \
8		BR2_m68k	|| BR2_nios2		|| BR2_powerpc	|| \
9		BR2_powerpc64 	|| BR2_powerpc64le 	|| BR2_RISCV_64	|| \
10		BR2_RISCV_32	|| BR2_s390x		|| BR2_sh4	|| \
11		BR2_sh4eb	|| BR2_sh4a		|| BR2_sh4aeb	|| \
12		BR2_sparc	|| BR2_sparc64		|| BR2_x86_64
13
14config BR2_PACKAGE_LIBGPG_ERROR
15	bool "libgpg-error"
16	depends on BR2_PACKAGE_LIBGPG_ERROR_ARCH_SUPPORTS
17	help
18	  Libgpg-error is a small library with error codes and
19	  descriptions shared by most GnuPG related software.
20
21	  https://www.gnupg.org/related_software/libgpg-error
22
23config BR2_PACKAGE_LIBGPG_ERROR_SYSCFG
24	string
25	default "aarch64-unknown-linux-gnu" \
26		if BR2_aarch64 || BR2_aarch64_eb
27	default "arm-unknown-linux-gnueabi" \
28		if BR2_arm || BR2_armeb
29	default "i686-pc-linux-gnu" \
30		if BR2_i386
31	default "mips-unknown-linux-gnu" \
32		if BR2_mips || BR2_mipsel
33	default "mips64el-unknown-linux-gnuabi64" \
34		if BR2_mips64 || BR2_mips64el
35	default "m68k-unknown-linux-gnu" \
36		if BR2_m68k
37	default "nios2-unknown-linux-gnu" \
38		if BR2_nios2
39	default "powerpc-unknown-linux-gnu" \
40		if BR2_powerpc
41	default "powerpc64-unknown-linux-gnu" \
42		if BR2_powerpc64 || BR2_powerpc64le
43	default "riscv32-unknown-linux-gnu" \
44		if BR2_RISCV_32
45	default "riscv64-unknown-linux-gnu" \
46		if BR2_RISCV_64
47	default "s390x-unknown-linux-gnu" \
48		if BR2_s390x
49	default "sh4-unknown-linux-gnu" \
50		if BR2_sh4 || BR2_sh4eb || BR2_sh4a || BR2_sh4aeb
51	default "sparc-unknown-linux-gnu" \
52		if BR2_sparc
53	default "sparc64-unknown-linux-gnu" \
54		if BR2_sparc64
55	default "x86_64-unknown-linux-gnu" \
56		if BR2_x86_64
57