1config BR2_PACKAGE_RAUC
2	bool "rauc"
3	depends on BR2_TOOLCHAIN_HAS_THREADS # glib2
4	depends on BR2_USE_MMU # glib2
5	depends on BR2_USE_WCHAR # glib2
6	select BR2_PACKAGE_LIBGLIB2
7	select BR2_PACKAGE_OPENSSL
8	select BR2_PACKAGE_SQUASHFS # run-time dependency
9	select BR2_PACKAGE_UBOOT_TOOLS if BR2_TARGET_UBOOT # run-time dependency
10	select BR2_PACKAGE_UBOOT_TOOLS_FWPRINTENV if BR2_TARGET_UBOOT
11	help
12	  RAUC is the Robust Auto-Update Controller developed by
13	  Pengutronix. It supports updating embedded Linux
14	  systems over the network or from disks and provides a
15	  d-bus interface.
16
17	  http://rauc.io/
18
19if BR2_PACKAGE_RAUC
20
21config BR2_PACKAGE_RAUC_DBUS
22	bool "dbus support"
23	select BR2_PACKAGE_DBUS
24	help
25	  This option enables support for controlling rauc through
26	  D-Bus.
27
28config BR2_PACKAGE_RAUC_GPT
29	bool "GPT support"
30	select BR2_PACKAGE_UTIL_LINUX
31	select BR2_PACKAGE_UTIL_LINUX_LIBS
32	select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
33	help
34	    This option enables support for GPT partition tables.
35
36config BR2_PACKAGE_RAUC_NETWORK
37	bool "network support"
38	select BR2_PACKAGE_LIBCURL
39	help
40	  This option enables support for updating firmware over
41	  the network using libcurl.
42
43if BR2_PACKAGE_RAUC_NETWORK
44
45config BR2_PACKAGE_RAUC_STREAMING
46	bool "streaming update support"
47	select BR2_PACKAGE_LIBNL
48	help
49	  This option enables support for streaming update mode.
50
51endif
52
53config BR2_PACKAGE_RAUC_JSON
54	bool "JSON output support"
55	select BR2_PACKAGE_JSON_GLIB
56	help
57	  This option enables support for providing output in
58	  JSON format.
59
60endif
61
62comment "rauc needs a toolchain w/ wchar, threads"
63	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
64	depends on BR2_USE_MMU
65