package/libgpg-error: Disable support for non-C languages
PATCH 1/1 package/libgpg-error: Disable support for non-C languages
The only other language supported is CL (Common Lisp) which buildroot does not package yet. This saves 52KB in the final root filesystem.
--- package/libgpg-error/libgpg-error.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
package/libgpg-error/libgpg-error.mk +2 -1
@@ -14,7 +14,8 @@ LIBGPG_ERROR_INSTALL_STAGING = YES LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) LIBGPG_ERROR_CONF_OPTS = --disable-tests \ - --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) + --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) \ + --disable-languages ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) LIBGPG_ERROR_CONF_OPTS += --enable-threads
Signature · 6 lines
2.34.1 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 4 lines · Florian Fainelli
The only other language supported is CL (Common Lisp) which buildroot does not package yet. This saves 52KB in the final root filesystem.
Signed-off-by Florian Fainelli <[email protected]>
We can strip the package installation even more, v2 coming up shortly.
Quoted 18 lines
--- package/libgpg-error/libgpg-error.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)package/libgpg-error/libgpg-error.mk +2
-1@@ -14,7 +14,8 @@ LIBGPG_ERROR_INSTALL_STAGING = YES LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) LIBGPG_ERROR_CONF_OPTS = --disable-tests \ - --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) + --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) \ + --disable-languages ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) LIBGPG_ERROR_CONF_OPTS += --enable-threads
Signature · 6 lines
Florian _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Yann E. MORIN
AppliedFlorian, All,
On 2022-12-19 12:23 -0800, Florian Fainelli spake thusly:
Quoted 4 lines
The only other language supported is CL (Common Lisp) which buildroot does not package yet. This saves 52KB in the final root filesystem.
Signed-off-by Florian Fainelli <[email protected]>
Applied to master, thanks.
Quoted 9 lines
--- package/libgpg-error/libgpg-error.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)package/libgpg-error/libgpg-error.mk +0
-0
package/libgpg-error/libgpg-error.mk LIBGPG_ERROR_INSTALL_STAGING = YES · line 18
Quoted 6 lines
package/libgpg-error/libgpg-error.mk +2
-1@@ -14,7 +14,8 @@ LIBGPG_ERROR_INSTALL_STAGING = YES LIBGPG_ERROR_CONFIG_SCRIPTS = gpg-error-config LIBGPG_ERROR_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES) LIBGPG_ERROR_CONF_OPTS = --disable-tests \ - --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) + --host=$(BR2_PACKAGE_LIBGPG_ERROR_SYSCFG) \ + --disable-languages
I also took the oportunity to reformat that to more closely match the (unwritten) rule of one-option-per-line.
Regards,
Yann E. MORIN.
Quoted 5 lines
package/libgpg-error/libgpg-error.mk +0
-0ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y) LIBGPG_ERROR_CONF_OPTS += --enable-threadsSignature · 1 line
2.34.1
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot