diff options
author | Enrico Jorns <ejo@pengutronix.de> | 2022-06-15 16:22:15 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2022-06-17 14:20:23 +0200 |
commit | c2ad273712cfb89c292dd5a72e8e1ee87a997ab7 (patch) | |
tree | 404f7d03ea4441554e2150a56ecc46050bf2b4d4 /rules | |
parent | 7c378e97df58c372cdef473fbd2b0ee613dfeff9 (diff) | |
download | ptxdist-c2ad273712cfb89c292dd5a72e8e1ee87a997ab7.tar.gz ptxdist-c2ad273712cfb89c292dd5a72e8e1ee87a997ab7.tar.xz |
RAUC: leverage --disable-create option to shrink size for target RAUC
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 <ejo@pengutronix.de>
Message-Id: <20220615142217.990960-4-ejo@pengutronix.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/host-rauc.make | 1 | ||||
-rw-r--r-- | rules/rauc.in | 9 | ||||
-rw-r--r-- | rules/rauc.make | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/rules/host-rauc.make b/rules/host-rauc.make index e5190bb8e..f0716da04 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 c6c697df7..fa24fa61d 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 78f6c894b..6a2d49343 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 \ |