package/rauc: add option to enable gpt support

GPT support was disabled by default before.

Signed-off-by: Marcus Hoffmann <marcus.hoffmann@othermo.de>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Marcus Hoffmann 2022-02-17 15:21:19 +01:00 committed by Peter Korsgaard
parent 68d0aede59
commit c2d3033ddc
2 changed files with 13 additions and 0 deletions

View File

@ -25,6 +25,12 @@ config BR2_PACKAGE_RAUC_DBUS
This option enables support for controlling rauc through
D-Bus.
config BR2_PACKAGE_RAUC_GPT
bool "GPT support"
select BR2_PACKAGE_UTIL_LINUX_LIBFDISK
help
This option enables support for GPT partition tables.
config BR2_PACKAGE_RAUC_NETWORK
bool "network support"
select BR2_PACKAGE_LIBCURL

View File

@ -31,6 +31,13 @@ else
RAUC_CONF_OPTS += --disable-service
endif
ifeq ($(BR2_PACKAGE_RAUC_GPT),y)
RAUC_CONF_OPTS += --enable-gpt
RAUC_DEPENDENCIES += util-linux-libs
else
RAUC_CONF_OPTS += --disable-gpt
endif
ifeq ($(BR2_PACKAGE_RAUC_NETWORK),y)
RAUC_CONF_OPTS += --enable-network
RAUC_DEPENDENCIES += libcurl