orc: add host support
authorPeter Korsgaard <jacmet@sunsite.dk>
Mon, 24 Oct 2011 12:23:30 +0000 (14:23 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 24 Oct 2011 13:36:28 +0000 (15:36 +0200)
Some packages use orc to generate C code at build time using orcc, so we
need to build orc for the host as well.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/orc/orc.mk

index d4ff3e28f3c9dba43a934446441bc07ee2f69910..97c80f29e94f3f68d1e11beca82c6142acd997fd 100644 (file)
@@ -6,6 +6,7 @@
 ORC_VERSION = 0.4.14
 ORC_SITE = http://code.entropywave.com/download/orc/
 ORC_INSTALL_STAGING = YES
+ORC_DEPENDENCIES = host-orc
 
 define ORC_REMOVE_BUGREPORT
        rm -f $(TARGET_DIR)/usr/bin/orc-bugreport
@@ -22,3 +23,4 @@ ORC_POST_INSTALL_TARGET_HOOKS += ORC_REMOVE_DEVFILES
 endif
 
 $(eval $(call AUTOTARGETS))
+$(eval $(call AUTOTARGETS,host))