Skip to contentSkip to conversation

package/libtasn1: do not package tasn1 programs and tests for target

PATCH In review Moritz Bitsch via buildroot 2 participants 2 messages Oct 19, 2021 – Dec 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libtasn1: do not package tasn1 programs and tests for target

From: Moritz Bitsch <[email protected]>

no included package depends on the tests or programs

---
 package/libtasn1/libtasn1.mk | 4 ++++
 1 file changed, 4 insertions(+)
package/libtasn1/libtasn1.mk +4 -0
index d9d14fde83..da7f885fe5 100644
@@ -20,4 +20,8 @@ LIBTASN1_CONF_ENV = MAKEINFO="true"
 
 LIBTASN1_CONF_OPTS = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
 
+define LIBTASN1_INSTALL_TARGET_CMDS
+	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D)/lib DESTDIR=$(TARGET_DIR) install
+endef
+
 $(eval $(autotools-package))
Signature · 6 lines
2.31.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Moritz,

Quoted 8 lines · On Tue, 19 Oct 2021 08:39:14 +0200 Moritz Bitsch via buildroot…

From: Moritz Bitsch <[email protected]>

no included package depends on the tests or programs

---
 package/libtasn1/libtasn1.mk | 4 ++++
 1 file changed, 4 insertions(+)

Sorry for the long delay in getting back to you. I have applied your patch, but after changing the approach to remove after installation the 3 programs from TARGET_DIR/usr/bin. There are pros and cons to both approaches, I think the approach of removing an explicit list of files is what we more commonly use.

Best regards,

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot