* [Buildroot] [PATCH] package/libgpg-error: Disable support for non-C languages
@ 2022-12-19 20:23 Florian Fainelli
2022-12-19 20:49 ` Florian Fainelli
2022-12-20 8:29 ` Yann E. MORIN
0 siblings, 2 replies; 3+ messages in thread
From: Florian Fainelli @ 2022-12-19 20:23 UTC (permalink / raw)
To: buildroot
Cc: bernd.kuhls, chrismcc, Florian Fainelli, mmayer, yann.morin.1998,
thomas.petazzoni, fontaine.fabrice
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 <f.fainelli@gmail.com>
---
package/libgpg-error/libgpg-error.mk | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/package/libgpg-error/libgpg-error.mk b/package/libgpg-error/libgpg-error.mk
index 86dea6ad2acd..0b7b8df389f9 100644
--- a/package/libgpg-error/libgpg-error.mk
+++ b/package/libgpg-error/libgpg-error.mk
@@ -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
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/libgpg-error: Disable support for non-C languages
2022-12-19 20:23 [Buildroot] [PATCH] package/libgpg-error: Disable support for non-C languages Florian Fainelli
@ 2022-12-19 20:49 ` Florian Fainelli
2022-12-20 8:29 ` Yann E. MORIN
1 sibling, 0 replies; 3+ messages in thread
From: Florian Fainelli @ 2022-12-19 20:49 UTC (permalink / raw)
To: buildroot
Cc: bernd.kuhls, chrismcc, mmayer, yann.morin.1998, thomas.petazzoni,
fontaine.fabrice
On 12/19/22 12:23, Florian Fainelli wrote:
> 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 <f.fainelli@gmail.com>
We can strip the package installation even more, v2 coming up shortly.
> ---
> package/libgpg-error/libgpg-error.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/libgpg-error/libgpg-error.mk b/package/libgpg-error/libgpg-error.mk
> index 86dea6ad2acd..0b7b8df389f9 100644
> --- a/package/libgpg-error/libgpg-error.mk
> +++ b/package/libgpg-error/libgpg-error.mk
> @@ -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
--
Florian
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Buildroot] [PATCH] package/libgpg-error: Disable support for non-C languages
2022-12-19 20:23 [Buildroot] [PATCH] package/libgpg-error: Disable support for non-C languages Florian Fainelli
2022-12-19 20:49 ` Florian Fainelli
@ 2022-12-20 8:29 ` Yann E. MORIN
1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2022-12-20 8:29 UTC (permalink / raw)
To: Florian Fainelli
Cc: bernd.kuhls, chrismcc, mmayer, thomas.petazzoni, buildroot,
fontaine.fabrice
Florian, All,
On 2022-12-19 12:23 -0800, Florian Fainelli spake thusly:
> 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 <f.fainelli@gmail.com>
Applied to master, thanks.
> ---
> package/libgpg-error/libgpg-error.mk | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/package/libgpg-error/libgpg-error.mk b/package/libgpg-error/libgpg-error.mk
> index 86dea6ad2acd..0b7b8df389f9 100644
> --- a/package/libgpg-error/libgpg-error.mk
> +++ b/package/libgpg-error/libgpg-error.mk
> @@ -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.
> ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
> LIBGPG_ERROR_CONF_OPTS += --enable-threads
> --
> 2.34.1
>
--
.-----------------.--------------------.------------------.--------------------.
| 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
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-12-20 8:29 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-19 20:23 [Buildroot] [PATCH] package/libgpg-error: Disable support for non-C languages Florian Fainelli
2022-12-19 20:49 ` Florian Fainelli
2022-12-20 8:29 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox