From 30ac432b419599a8744238fdea65cf08c0765b63 Mon Sep 17 00:00:00 2001 From: Moritz Bitsch Date: Tue, 19 Oct 2021 08:39:14 +0200 Subject: [PATCH] package/libtasn1: remove programs from the target No included package depends on those programs. Signed-off-by: Moritz Bitsch Signed-off-by: Thomas Petazzoni --- 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))