Config.in 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. if BR2_PACKAGE_LIBOPENSSL
  2. # 4xx PowerPC cores seem to have trouble with openssl's ASM
  3. # optimizations
  4. config BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH_LINUX_PPC
  5. bool
  6. default y if BR2_powerpc
  7. depends on !BR2_powerpc_401
  8. depends on !BR2_powerpc_403
  9. depends on !BR2_powerpc_405
  10. depends on !BR2_powerpc_405fp
  11. depends on !BR2_powerpc_440
  12. depends on !BR2_powerpc_440fp
  13. config BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH
  14. string
  15. # Use "gcc" minimalistic target to disable DSO
  16. # no-asm is needed with generic architectures such as gcc, see
  17. # https://github.com/openssl/openssl/issues/9839
  18. default "gcc no-asm" if BR2_STATIC_LIBS
  19. # Doesn't work for thumb-only (Cortex-M?)
  20. default "linux-armv4" if BR2_ARM_CPU_HAS_ARM
  21. default "linux-aarch64" if BR2_aarch64
  22. default "linux-ppc" if BR2_PACKAGE_LIBOPENSSL_TARGET_ARCH_LINUX_PPC
  23. default "linux-ppc64" if BR2_powerpc64
  24. default "linux-ppc64le" if BR2_powerpc64le
  25. default "linux-x86" if BR2_i386
  26. default "linux-x86_64" if BR2_x86_64
  27. # no-asm is needed with generic architectures such as
  28. # linux-generic{32,64}, see
  29. # https://github.com/openssl/openssl/issues/9839
  30. default "linux-generic64 no-asm" if BR2_ARCH_IS_64 && !BR2_MIPS_NABI32
  31. default "linux-generic32 no-asm"
  32. config BR2_PACKAGE_LIBOPENSSL_BIN
  33. bool "openssl binary"
  34. help
  35. Install the openssl binary and the associated helper scripts
  36. to the target file system. This is a command line tool for
  37. doing various cryptographic stuff.
  38. config BR2_PACKAGE_LIBOPENSSL_ENGINES
  39. bool "openssl additional engines"
  40. help
  41. Install additional encryption engine libraries.
  42. endif # BR2_PACKAGE_LIBOPENSSL