Skip to contentSkip to conversation

vala: add missing host-bison dependency

PATCH New Thomas Petazzoni 2 participants 3 messages Mar 25, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 vala: add missing host-bison dependency

Fixes:
http://autobuild.buildroot.org/results/a59cceb695298c212c91d2e32b381a096f875274/build-end.log.

---
 package/vala/vala.mk |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/vala/vala.mk +1 -1
index 6abcdd8..8cf616f 100644
@@ -10,7 +10,7 @@ VALA_VERSION = $(VALA_VERSION_MAJOR).$(VALA_VERSION_MINOR)
 VALA_SITE = http://download.gnome.org/sources/vala/$(VALA_VERSION_MAJOR)
 VALA_SOURCE = vala-$(VALA_VERSION).tar.xz
 
-VALA_DEPENDENCIES = host-flex libglib2 \
+VALA_DEPENDENCIES = host-flex host-bison libglib2 \
 		$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
 
 # If we want the documentation, then xsltproc is needed. If we don't
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 vala: deprecate target package

Vala generates C code from Vala code, and therefore requires a compiler. Since we are deprecating the native compiler support on the target, having vala on the target doesn't make sense.

Of course, we keep vala for the host, where compilation happens.

---
 package/vala/Config.in |    2 ++
 1 file changed, 2 insertions(+)
package/vala/Config.in +2 -0
index e0d665c..805c770 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_VALA
 	bool "vala"
+	# We no longer support a toolchain on the target
+	depends on BR2_DEPRECATED
 	depends on BR2_USE_WCHAR # glib2
 	select BR2_PACKAGE_LIBGLIB2
 	select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
Signature · 1 line
1.7.9.5