[Buildroot] [git commit] package/libtasn1: remove programs from the target

Thomas Petazzoni thomas.petazzoni at bootlin.com
Thu Dec 30 17:10:46 UTC 2021


commit: https://git.buildroot.net/buildroot/commit/?id=30ac432b419599a8744238fdea65cf08c0765b63
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

No included package depends on those programs.

Signed-off-by: Moritz Bitsch <moritz at h6t.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
---
 package/libtasn1/libtasn1.mk | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/package/libtasn1/libtasn1.mk b/package/libtasn1/libtasn1.mk
index 5cc33d505e..ecca00e79e 100644
--- a/package/libtasn1/libtasn1.mk
+++ b/package/libtasn1/libtasn1.mk
@@ -20,4 +20,12 @@ LIBTASN1_CONF_ENV = MAKEINFO="true"
 
 LIBTASN1_CONF_OPTS = CFLAGS="$(TARGET_CFLAGS) -std=gnu99"
 
+LIBTANS1_PROGS = asn1Coding asn1Decoding asn1Parser
+
+# We only need the library
+define LIBTASN1_REMOVE_PROGS
+	$(RM) $(addprefix $(TARGET_DIR)/usr/bin/,$(LIBTANS1_PROGS))
+endef
+LIBTASN1_POST_INSTALL_TARGET_HOOKS += LIBTASN1_REMOVE_PROGS
+
 $(eval $(autotools-package))



More information about the buildroot mailing list