Thanks, applied as c2ad273712cfb89c292dd5a72e8e1ee87a997ab7.

Michael

[sent from post-receive hook]

On Mon, 20 Jun 2022 08:19:59 +0200, Enrico Jorns <[email protected]> wrote:
> We do not need bundle creation capabilities on the target in most cases,
> thus make this optional (and disable by default).
> 
> Signed-off-by: Enrico Jorns <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/rules/host-rauc.make b/rules/host-rauc.make
> index e5190bb8e60a..f0716da042b6 100644
> --- a/rules/host-rauc.make
> +++ b/rules/host-rauc.make
> @@ -27,6 +27,7 @@ HOST_RAUC_CONF_OPT  := \
>       --disable-Werror \
>       --disable-code-coverage \
>       --disable-valgrind \
> +     --enable-create \
>       --disable-service \
>       --enable-create \
>       --disable-network \
> diff --git a/rules/rauc.in b/rules/rauc.in
> index c6c697df7e9d..fa24fa61d318 100644
> --- a/rules/rauc.in
> +++ b/rules/rauc.in
> @@ -27,6 +27,15 @@ menuconfig RAUC
>  
>  if RAUC
>  
> +config RAUC_CREATE
> +     bool
> +     prompt "Enable bundle creation support on target"
> +     help
> +       Enables support for creating bundles on target.
> +       Disabling this will remove functionality required for bundle
> +       creation which is not required on the target in most cases and thus
> +       allows to save space.
> +
>  config RAUC_SERVICE
>       bool
>       prompt "Enable service (D-Bus) support"
> diff --git a/rules/rauc.make b/rules/rauc.make
> index 78f6c894b73e..6a2d49343105 100644
> --- a/rules/rauc.make
> +++ b/rules/rauc.make
> @@ -43,6 +43,7 @@ RAUC_CONF_OPT       := \
>       --disable-Werror \
>       --disable-code-coverage \
>       --disable-valgrind \
> +     --$(call ptx/endis,PTXCONF_RAUC_CREATE)-create \
>       --$(call ptx/endis,PTXCONF_RAUC_SERVICE)-service \
>       --disable-create \
>       --$(call ptx/endis,PTXCONF_RAUC_NETWORK)-network \

Reply via email to