1config BR2_PACKAGE_MENDER
2	bool "mender"
3	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
4	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
5	depends on BR2_TOOLCHAIN_HAS_THREADS
6	select BR2_PACKAGE_OPENSSL
7	select BR2_PACKAGE_OPENSSL_FORCE_LIBOPENSSL
8	select BR2_PACKAGE_LIBOPENSSL_ENABLE_MD4
9	select BR2_PACKAGE_LIBOPENSSL_ENABLE_RMD160
10	help
11	  Mender is an open source over-the-air (OTA) software updater
12	  for embedded Linux devices. Mender comprises a client
13	  running at the embedded device, as well as a server that
14	  manages deployments across many devices.
15
16	  Notes:
17	  For systems using uboot as the bootloader:
18	    - uboot must have the mender uboot patches applied.
19	    - uboot-tools must be selected.
20	    - fw_printenv must be functional on the device.
21	  The Mender Uboot patches are at:
22	  https://github.com/mendersoftware/meta-mender/
23
24	  For more information on Manual U-Boot integration, see:
25	  https://docs.mender.io/2.6/system-updates-yocto-project/board-integration/bootloader-support/u-boot/manual-u-boot-integration
26
27	  For systems using Grub2 as the bootloader:
28	    - Mender depends on the mender-grubenv package.
29	    - The mender-grubenv package provides a fw_printenv script,
30	      which is not compatible with the uboot-tools fw_printenv
31	      script.
32
33	  The mender project recommends using uboot to load Grub2 as a
34	  secondary bootloader whenever possible. Using Grub2 as a
35	  secondary bootloader prevents users from porting the patches
36	  for uboot to each new device.
37
38	  https://github.com/mendersoftware/mender
39
40comment "mender needs a toolchain w/ threads"
41	depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
42	depends on BR2_PACKAGE_HOST_GO_TARGET_CGO_LINKING_SUPPORTS
43	depends on !BR2_TOOLCHAIN_HAS_THREADS
44