* [Buildroot] [PATCH 1/2] gnutls: remove manual doc disabling kludge
@ 2015-12-14 18:41 Gustavo Zacarias
2015-12-14 18:41 ` [Buildroot] [PATCH 2/2] gnutls: remove manual tools " Gustavo Zacarias
2015-12-15 20:59 ` [Buildroot] [PATCH 1/2] gnutls: remove manual doc " Thomas Petazzoni
0 siblings, 2 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2015-12-14 18:41 UTC (permalink / raw)
To: buildroot
It's no longer required, SUBDIRS += doc is guarded by ENABLE_DOC in
Makefile.am and the only place where it's used regardless is in
dist-hook which isn't used by buildroot.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/gnutls/gnutls.mk | 6 ------
1 file changed, 6 deletions(-)
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index 737e4b1..b8c5461 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -82,17 +82,11 @@ else
GNUTLS_CONF_OPTS += --without-zlib
endif
-# Some examples in doc/examples use wchar
-define GNUTLS_DISABLE_DOCS
- $(SED) 's/ doc / /' $(@D)/Makefile.in
-endef
-
define GNUTLS_DISABLE_TOOLS
$(SED) 's/\$$(PROGRAMS)//' $(@D)/src/Makefile.in
$(SED) 's/) install-exec-am/)/' $(@D)/src/Makefile.in
endef
-GNUTLS_POST_PATCH_HOOKS += GNUTLS_DISABLE_DOCS
GNUTLS_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_GNUTLS_TOOLS),,GNUTLS_DISABLE_TOOLS)
$(eval $(autotools-package))
--
2.4.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 2/2] gnutls: remove manual tools disabling kludge
2015-12-14 18:41 [Buildroot] [PATCH 1/2] gnutls: remove manual doc disabling kludge Gustavo Zacarias
@ 2015-12-14 18:41 ` Gustavo Zacarias
2015-12-15 20:59 ` [Buildroot] [PATCH 1/2] gnutls: remove manual doc " Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Gustavo Zacarias @ 2015-12-14 18:41 UTC (permalink / raw)
To: buildroot
It's no longer required, tools are guarded by ENABLE_TOOLS in
Makefile.am and excluded accordingly.
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
package/gnutls/gnutls.mk | 10 ++--------
1 file changed, 2 insertions(+), 8 deletions(-)
diff --git a/package/gnutls/gnutls.mk b/package/gnutls/gnutls.mk
index b8c5461..d63df99 100644
--- a/package/gnutls/gnutls.mk
+++ b/package/gnutls/gnutls.mk
@@ -22,7 +22,8 @@ GNUTLS_CONF_OPTS = \
--enable-openssl-compatibility \
--with-libnettle-prefix=$(STAGING_DIR)/usr \
--with-librt-prefix=$(STAGING_DIR) \
- --without-tpm
+ --without-tpm \
+ $(if $(BR2_PACKAGE_GNUTLS_TOOLS),--enable-tools,--disable-tools)
GNUTLS_CONF_ENV = gl_cv_socket_ipv6=yes \
ac_cv_header_wchar_h=$(if $(BR2_USE_WCHAR),yes,no) \
gt_cv_c_wchar_t=$(if $(BR2_USE_WCHAR),yes,no) \
@@ -82,11 +83,4 @@ else
GNUTLS_CONF_OPTS += --without-zlib
endif
-define GNUTLS_DISABLE_TOOLS
- $(SED) 's/\$$(PROGRAMS)//' $(@D)/src/Makefile.in
- $(SED) 's/) install-exec-am/)/' $(@D)/src/Makefile.in
-endef
-
-GNUTLS_POST_PATCH_HOOKS += $(if $(BR2_PACKAGE_GNUTLS_TOOLS),,GNUTLS_DISABLE_TOOLS)
-
$(eval $(autotools-package))
--
2.4.10
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] [PATCH 1/2] gnutls: remove manual doc disabling kludge
2015-12-14 18:41 [Buildroot] [PATCH 1/2] gnutls: remove manual doc disabling kludge Gustavo Zacarias
2015-12-14 18:41 ` [Buildroot] [PATCH 2/2] gnutls: remove manual tools " Gustavo Zacarias
@ 2015-12-15 20:59 ` Thomas Petazzoni
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2015-12-15 20:59 UTC (permalink / raw)
To: buildroot
Dear Gustavo Zacarias,
On Mon, 14 Dec 2015 15:41:37 -0300, Gustavo Zacarias wrote:
> It's no longer required, SUBDIRS += doc is guarded by ENABLE_DOC in
> Makefile.am and the only place where it's used regardless is in
> dist-hook which isn't used by buildroot.
>
> Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
> ---
> package/gnutls/gnutls.mk | 6 ------
> 1 file changed, 6 deletions(-)
Both applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-12-15 20:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-14 18:41 [Buildroot] [PATCH 1/2] gnutls: remove manual doc disabling kludge Gustavo Zacarias
2015-12-14 18:41 ` [Buildroot] [PATCH 2/2] gnutls: remove manual tools " Gustavo Zacarias
2015-12-15 20:59 ` [Buildroot] [PATCH 1/2] gnutls: remove manual doc " Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox