package/libtasn1: remove programs from the target

No included package depends on those programs.

Signed-off-by: Moritz Bitsch <moritz@h6t.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Moritz Bitsch 2021-10-19 08:39:14 +02:00 committed by Thomas Petazzoni
parent 6b1a0864b2
commit 30ac432b41

View File

@ -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))