Przeglądaj źródła

chrony: disable docs build

Needs makeinfo and we don't care about docs. Fixes:
http://autobuild.buildroot.net/results/fd0/fd03a86ed670c765d9f0a1ed6cc913079e030fc9/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Gustavo Zacarias 11 lat temu
rodzic
commit
2dbdd7c1df
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      package/chrony/chrony.mk

+ 6 - 0
package/chrony/chrony.mk

@@ -27,6 +27,12 @@ ifneq ($(BR2_INET_IPV6),y)
 CHRONY_CONF_OPT += --disable-ipv6
 endif
 
+# Ditch the doc build, needs makeinfo and we don't need them
+define CHRONY_DISABLE_DOCS
+	$(SED) 's/chronyc chrony.txt/chronyc/' $(@D)/Makefile.in
+endef
+CHRONY_POST_PATCH_HOOKS += CHRONY_DISABLE_DOCS
+
 define CHRONY_CONFIGURE_CMDS
 	cd $(@D) && $(TARGET_CONFIGURE_OPTS) ./configure $(CHRONY_CONF_OPT)
 endef