diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-02-21 15:38:02 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2010-02-23 20:34:51 +0100 |
commit | 520dd9fbe5896175285a494aeeabe221bce9db62 (patch) | |
tree | fd45343c596a66ae5d004b6227e478530892b36a /package/shared-mime-info/shared-mime-info.mk | |
parent | ec5ab1dbd7def2276b13800e05cdc248edae6caa (diff) | |
download | buildroot-novena-520dd9fbe5896175285a494aeeabe221bce9db62.tar.gz buildroot-novena-520dd9fbe5896175285a494aeeabe221bce9db62.zip |
shared-mime-info: do not depend on phony target in hook
Real targets should not depend on phony targets, otherwise they get
rebuilt everytime.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/shared-mime-info/shared-mime-info.mk')
-rw-r--r-- | package/shared-mime-info/shared-mime-info.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/shared-mime-info/shared-mime-info.mk b/package/shared-mime-info/shared-mime-info.mk index 80b0cccd1..fe1414257 100644 --- a/package/shared-mime-info/shared-mime-info.mk +++ b/package/shared-mime-info/shared-mime-info.mk @@ -12,7 +12,7 @@ SHARED_MIME_INFO_INSTALL_TARGET = NO SHARED_MIME_INFO_AUTORECONF = NO SHARED_MIME_INFO_CONF_ENV = XMLLINT=$(HOST_DIR)/usr/bin/xmllint -SHARED_MIME_INFO_DEPENDENCIES = host-pkg-config host-libglib2 host-libxml2 libxml2 libglib2 +SHARED_MIME_INFO_DEPENDENCIES = host-pkg-config host-libglib2 host-libxml2 host-shared-mime-info libxml2 libglib2 SHARED_MIME_INFO_CONF_OPT = --disable-update-mimedb @@ -28,7 +28,7 @@ $(eval $(call AUTOTARGETS,package,shared-mime-info,host)) SHARED_MIME_INFO_HOST_BINARY:=$(HOST_DIR)/usr/bin/update-mime-database # update the shared-mime-info database in the target -$(SHARED_MIME_INFO_HOOK_POST_INSTALL): host-shared-mime-info +$(SHARED_MIME_INFO_HOOK_POST_INSTALL): $(HOST_MAKE_ENV) $(SHARED_MIME_INFO_HOST_BINARY) $(STAGING_DIR)/usr/share/mime $(INSTALL) -D $(STAGING_DIR)/usr/share/mime/mime.cache $(TARGET_DIR)/usr/share/mime/mime.cache touch $@ |