Eina needs to be built also for the host to get at least the executables eet and...
authorMirko Vogt <mirko@openwrt.org>
Mon, 20 Apr 2009 19:27:36 +0000 (19:27 +0000)
committerMirko Vogt <mirko@openwrt.org>
Mon, 20 Apr 2009 19:27:36 +0000 (19:27 +0000)
SVN-Revision: 15306

efl/eina/Makefile

index 2bafb6c599208772408784212632915419bd4cff..d6a9db1f49dc98c192cb503400f0d4403ce4449c 100644 (file)
@@ -22,6 +22,7 @@ PKG_BUILD_DIR=$(BUILD_DIR)/Xorg/$(_CATEGORY)/$(PKG_NAME)-$(PKG_VERSION)/
 
 PKG_FIXUP = libtool
 
+include $(INCLUDE_DIR)/host-build.mk
 include $(INCLUDE_DIR)/package.mk
 
 define Package/eina
@@ -43,6 +44,17 @@ define Build/Configure
        )
 endef
 
+define Host/Configure
+       ( cd $(HOST_BUILD_DIR); NOCONFIGURE=YES ./autogen.sh );
+       $(call Host/Configure/Default, \
+               --disable-cpu-mmx \
+               --disable-cpu-sse \
+               --disable-cpu-sse2 \
+               --disable-magic-debug \
+               --disable-doc \
+       )
+endef
+
 define Build/Compile
        DESTDIR="$(PKG_INSTALL_DIR)" $(MAKE) -C $(PKG_BUILD_DIR) all install
 endef
@@ -60,4 +72,5 @@ define Package/eina/install
        $(FIND) $(1)/ -name "*.a" | $(XARGS) rm
 endef
 
+$(eval $(call HostBuild))
 $(eval $(call BuildPackage,eina))