All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/libtasn1: do not package tasn1 programs and tests for target
@ 2021-10-19  6:39 Moritz Bitsch via buildroot
  2021-12-30 17:12 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Moritz Bitsch via buildroot @ 2021-10-19  6:39 UTC (permalink / raw)
  To: buildroot; +Cc: Moritz Bitsch

From: Moritz Bitsch <moritz@h6t.eu>

no included package depends on the tests or programs

Signed-off-by: Moritz Bitsch <moritz@h6t.eu>
---
 package/libtasn1/libtasn1.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/package/libtasn1/libtasn1.mk b/package/libtasn1/libtasn1.mk
index d9d14fde83..da7f885fe5 100644
--- a/package/libtasn1/libtasn1.mk
+++ b/package/libtasn1/libtasn1.mk
@@ -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))
-- 
2.31.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/libtasn1: do not package tasn1 programs and tests for target
  2021-10-19  6:39 [Buildroot] [PATCH 1/1] package/libtasn1: do not package tasn1 programs and tests for target Moritz Bitsch via buildroot
@ 2021-12-30 17:12 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2021-12-30 17:12 UTC (permalink / raw)
  To: moritz; +Cc: Moritz Bitsch via buildroot

Hello Moritz,

On Tue, 19 Oct 2021 08:39:14 +0200
Moritz Bitsch via buildroot <buildroot@buildroot.org> wrote:

> From: Moritz Bitsch <moritz@h6t.eu>
> 
> no included package depends on the tests or programs
> 
> Signed-off-by: Moritz Bitsch <moritz@h6t.eu>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-12-30 17:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-19  6:39 [Buildroot] [PATCH 1/1] package/libtasn1: do not package tasn1 programs and tests for target Moritz Bitsch via buildroot
2021-12-30 17:12 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.