summaryrefslogtreecommitdiffstats
path: root/core/host_shared_library_internal.mk
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2014-11-08 22:20:03 -0800
committerDan Albert <danalbert@google.com>2014-11-11 14:30:54 -0800
commit954b5bdcf4c3621c10666a09bbfc3fe1cf785950 (patch)
treeef93620abe82f1d26b98d15d5588426cc2debfa6 /core/host_shared_library_internal.mk
parent1f6371583ef6ce3a384262ebb291515f5ca3a7b6 (diff)
downloadbuild-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.zip
build-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.tar.gz
build-954b5bdcf4c3621c10666a09bbfc3fe1cf785950.tar.bz2
Make modules depend on their makefile.
This should obviate much of the need for cleanspecs, and also make it unnecessary to continue adding LOCAL_ADDITIONAL_DEPENDENCIES for this sort of thing all over the tree. Change-Id: I97aa8fd280ae868a5f6364f8b7bf3c2fe235d6ce
Diffstat (limited to 'core/host_shared_library_internal.mk')
-rw-r--r--core/host_shared_library_internal.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/host_shared_library_internal.mk b/core/host_shared_library_internal.mk
index d9769d3..f1b3311 100644
--- a/core/host_shared_library_internal.mk
+++ b/core/host_shared_library_internal.mk
@@ -40,7 +40,11 @@ OVERRIDE_BUILT_MODULE_PATH := $($(LOCAL_2ND_ARCH_VAR_PREFIX)HOST_OUT_INTERMEDIAT
include $(BUILD_SYSTEM)/binary.mk
-$(LOCAL_BUILT_MODULE): $(all_objects) $(all_libraries) $(LOCAL_ADDITIONAL_DEPENDENCIES)
+$(LOCAL_BUILT_MODULE): \
+ $(all_objects) \
+ $(all_libraries) \
+ $(LOCAL_MODULE_MAKEFILE) \
+ $(LOCAL_ADDITIONAL_DEPENDENCIES)
$(transform-host-o-to-shared-lib)
endif # skip_build_from_source