Config.in 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. config BR2_PACKAGE_SWUPDATE
  2. bool "swupdate"
  3. depends on !BR2_STATIC_LIBS
  4. depends on BR2_TOOLCHAIN_HAS_THREADS
  5. depends on BR2_USE_MMU # fork()
  6. depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c
  7. select BR2_PACKAGE_JSON_C
  8. select BR2_PACKAGE_LIBUBOOTENV
  9. help
  10. swupdate provides a reliable way to update the software on
  11. an embedded system.
  12. swupdate is highly configurable to fit the targets
  13. requirements and to minimize the footprint. The provided
  14. default configuration file BR2_PACKAGE_SWUPDATE_CONFIG will
  15. enable swupdate with an embedded webserver, a parser and a
  16. handler for raw NAND or NOR flash.
  17. The default configuration file builds a reasonable firmware
  18. update system with minimal external dependencies in mind.
  19. If you like to use your own modified configuration,
  20. you have to select the necessary packages manually:
  21. * Select BR2_PACKAGE_LUA or BR2_PACKAGE_LUAJIT if you want
  22. want to have Lua support.
  23. * Select BR2_PACKAGE_LIBCURL if you want to use the download
  24. feature.
  25. * Select BR2_PACKAGE_OPENSSL or BR2_PACKAGE_MBEDTLS if you
  26. want to add encryption support.
  27. * Select BR2_PACKAGE_MTD if you want to use swupdate with
  28. UBI partitions.
  29. * Select BR2_PACKAGE_ZLIB if you want to deal with gzip
  30. compressed archives.
  31. * Select BR2_PACKAGE_ZSTD if you want to deal with zstd
  32. compressed archives.
  33. * Select BR2_PACKAGE_ZEROMQ to add support for using a
  34. remote handler.
  35. * Select BR2_PACKAGE_LIBRSYNC to add support for using
  36. rdiff handler.
  37. * Select BR2_PACKAGE_LIBGPIOD to add support for
  38. microcontroller firmware update.
  39. * Select BR2_PACKAGE_EFIBOOTMGR to add support for EFI Boot
  40. Guard.
  41. * Select BR2_PACKAGE_LIBCURL, BR2_PACKAGE_LIBWEBSOCKETS,
  42. and BR2_PACKAGE_LIBURIPARSER
  43. to add support for the SWU forwarder.
  44. https://sbabic.github.io/swupdate
  45. if BR2_PACKAGE_SWUPDATE
  46. config BR2_PACKAGE_SWUPDATE_CONFIG
  47. string "swupdate configuration file"
  48. default "package/swupdate/swupdate.config"
  49. help
  50. Path to the swupdate configuration file.
  51. I you wish to use your own modified swupdate configuration
  52. file specify the config file location with this option.
  53. config BR2_PACKAGE_SWUPDATE_USB
  54. bool "swupdate usb"
  55. depends on BR2_PACKAGE_SYSTEMD
  56. help
  57. Enable update from USB disk.
  58. comment "swupdate usb needs systemd"
  59. depends on !BR2_PACKAGE_SYSTEMD
  60. config BR2_PACKAGE_SWUPDATE_WEBSERVER
  61. bool "swupdate webserver"
  62. default y
  63. help
  64. Enable update from remote using a web server on the target.
  65. config BR2_PACKAGE_SWUPDATE_INSTALL_WEBSITE
  66. bool "install default website"
  67. default y
  68. depends on BR2_PACKAGE_SWUPDATE_WEBSERVER
  69. help
  70. Install the provided website to /var/www/swupdate.
  71. This is necessary if you want to run swupdate with the
  72. embedded webserver and do not provide an own website to be
  73. installed to /var/www/swupdate.
  74. endif
  75. comment "swupdate needs a toolchain w/ dynamic library, threads"
  76. depends on BR2_USE_MMU
  77. depends on BR2_TOOLCHAIN_HAS_SYNC_4
  78. depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS