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