From b76f2aa5463778a85df9d53cdeeca0f8fab67a7c Mon Sep 17 00:00:00 2001 From: Oskari Rauta Date: Sat, 22 Nov 2014 11:44:33 +0200 Subject: [PATCH] dbus host building Enable dbus host building ( some packages on other feed(s) need dbus on host side, since packages need to be compiled natively before cross compiling) --- utils/dbus/Makefile | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/utils/dbus/Makefile b/utils/dbus/Makefile index 240e100e76..996369512c 100644 --- a/utils/dbus/Makefile +++ b/utils/dbus/Makefile @@ -21,6 +21,7 @@ PKG_LICENSE:=AFL-2.1 PKG_FIXUP:=autoreconf PKG_INSTALL:=1 +include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk TARGET_LDFLAGS+= \ @@ -107,6 +108,29 @@ CONFIGURE_VARS+= \ ac_cv_have_abstract_sockets="yes" \ ac_cv_lib_expat_XML_ParserCreate_MM="yes" \ +HOST_CONFIGURE_ARGS+= \ + --enable-shared \ + --enable-static \ + --disable-abstract-sockets \ + --disable-ansi \ + --disable-asserts \ + --disable-console-owner-file \ + --disable-docygen-docs \ + --disable-compiler_coverage \ + --disable-selinux \ + --disable-tests \ + --disable-verbose-mode \ + --disable-xml-docs \ + --with-dbus-user=root \ + --with-dbus-daemondir="$(STAGIND_DIR_HOST)/bin" \ + --with-system-socket="$(STAGING_DIR_HOST)/var/run/dbus/system_bus_socket" \ + --with-system-pid-file="$(STAGING_DIR_HOST)/var/run/dbus.pid" \ + --without-x \ + --libexecdir="$(STAGING_DIR_HOST)/lib/dbus-1" + +HOST_CONFIGURE_VARS+= \ + ac_cv_have_abstract_sockets="yes" \ + ac_cv_lib_expat_XML_ParserCreate_MM="yes" \ define Build/InstallDev $(INSTALL_DIR) $(1)/usr/include @@ -184,6 +208,7 @@ define Package/dbus-utils/install $(1)/usr/bin/ endef +$(eval $(call HostBuild)) $(eval $(call BuildPackage,libdbus)) $(eval $(call BuildPackage,dbus)) $(eval $(call BuildPackage,dbus-utils))