From 0a2f54803e0193e8a53bad15e4772b4c04c2336d Mon Sep 17 00:00:00 2001 From: Mirko Vogt Date: Mon, 20 Apr 2009 19:27:36 +0000 Subject: [PATCH] Eina needs to be built also for the host to get at least the executables eet and edje_cc building and running on the host SVN-Revision: 15306 --- efl/eina/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/efl/eina/Makefile b/efl/eina/Makefile index 2bafb6c..d6a9db1 100644 --- a/efl/eina/Makefile +++ b/efl/eina/Makefile @@ -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)) -- 2.30.2