From: Mirko Vogt Date: Mon, 20 Apr 2009 19:27:36 +0000 (+0000) Subject: Eina needs to be built also for the host to get at least the executables eet and... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=4cbdbd9147f04db4f759206e27f2c85c1b8dc5ee 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 --- diff --git a/efl/eina/Makefile b/efl/eina/Makefile index 2bafb6c599..d6a9db1f49 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))