Skip to contentSkip to conversation

package/libgpg-error: Disable support for non-C languages

PATCH Applied Florian Fainelli 2 participants 3 messages Dec 19, 2022 – Dec 20, 2022

lore
Share & tools
lore
#0 lore raw

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
index 86dea6ad2acd..0b7b8df389f9 100644
@@ -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
#1 lore raw
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.

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
index 86dea6ad2acd..0b7b8df389f9 100644
@@ -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
#2 lore raw
In reply to Florian Fainelli

Florian, 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.

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
index 86dea6ad2acd..0b7b8df389f9 100644

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 -0
 ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),y)
 LIBGPG_ERROR_CONF_OPTS += --enable-threads
Signature · 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