mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 21:26:36 +00:00
dbus: fix xml dependency and stop continous rebuilds
This commit is contained in:
parent
e4051615c4
commit
9ce75bf893
@ -13,19 +13,12 @@ DBUS_TARGET_BINARY:=usr/bin/dbus-daemon
|
|||||||
|
|
||||||
ifeq ($(BR2_DBUS_EXPAT),y)
|
ifeq ($(BR2_DBUS_EXPAT),y)
|
||||||
DBUS_XML:=expat
|
DBUS_XML:=expat
|
||||||
# depend on the exact library file instead of expat so dbus isn't always
|
DBUS_XML_DEP:=expat
|
||||||
# considered out-of-date
|
|
||||||
DBUS_XML_DEP_LIB:=$(STAGING_DIR)/usr/lib/libexpat.so.1
|
|
||||||
else
|
else
|
||||||
DBUS_XML:=libxml
|
DBUS_XML:=libxml
|
||||||
# Makefile.autotools.in unfortunately has broken dependency handling,
|
DBUS_XML_DEP:=libxml2
|
||||||
# so we cannot do the same for libxml2
|
|
||||||
DBUS_XML_DEP_LIB:=$(LIBXML2_HOOK_POST_INSTALL)
|
|
||||||
#libxml2-install-staging
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
DBUS_XML_DEP:=$(DBUS_XML_DEP_LIB)
|
|
||||||
|
|
||||||
$(DL_DIR)/$(DBUS_SOURCE):
|
$(DL_DIR)/$(DBUS_SOURCE):
|
||||||
$(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
|
$(call DOWNLOAD,$(DBUS_SITE),$(DBUS_SOURCE))
|
||||||
|
|
||||||
@ -35,7 +28,7 @@ $(DBUS_DIR)/.unpacked: $(DL_DIR)/$(DBUS_SOURCE)
|
|||||||
$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
$(DBUS_CAT) $(DL_DIR)/$(DBUS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
|
||||||
touch $@
|
touch $@
|
||||||
|
|
||||||
$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked $(DBUS_XML_DEP)
|
$(DBUS_DIR)/.configured: $(DBUS_DIR)/.unpacked
|
||||||
(cd $(DBUS_DIR); rm -rf config.cache; \
|
(cd $(DBUS_DIR); rm -rf config.cache; \
|
||||||
$(TARGET_CONFIGURE_OPTS) \
|
$(TARGET_CONFIGURE_OPTS) \
|
||||||
$(TARGET_CONFIGURE_ARGS) \
|
$(TARGET_CONFIGURE_ARGS) \
|
||||||
@ -93,7 +86,7 @@ ifneq ($(BR2_HAVE_MANPAGES),y)
|
|||||||
rm -rf $(TARGET_DIR)/usr/share/man
|
rm -rf $(TARGET_DIR)/usr/share/man
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dbus: uclibc pkgconfig $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
|
dbus: uclibc pkgconfig $(DBUS_XML_DEP) $(TARGET_DIR)/$(DBUS_TARGET_BINARY)
|
||||||
|
|
||||||
dbus-clean:
|
dbus-clean:
|
||||||
rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
|
rm -f $(TARGET_DIR)/etc/dbus-1/session.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user