Fix bad automatic dependency computations
This commit is contained in:
@@ -120,5 +120,5 @@ $(foreach src,$(c_sources), $(call compile-c-source,$(src)))
|
||||
$(foreach src,$(s_sources), $(call compile-s-source,$(src)))
|
||||
$(foreach src,$(cpp_sources), $(call compile-cpp-source,$(src)))
|
||||
|
||||
LOCAL_DEPENDENCY_DIRS := $(sort $(LOCAL_DEPENDENCY_DIRS))
|
||||
CLEAN_OBJS_DIRS += $(LOCAL_OBJS_DIR)
|
||||
ALL_DEPENDENCY_DIRS += $(sort $(LOCAL_DEPENDENCY_DIRS))
|
||||
CLEAN_OBJS_DIRS += $(LOCAL_OBJS_DIR)
|
||||
|
||||
@@ -222,7 +222,7 @@ ANDROID_MK_INCLUDED := \
|
||||
# generated during the build. It will be updated by build scripts
|
||||
# when module definitions are parsed.
|
||||
#
|
||||
DEPENDENCY_DIRS :=
|
||||
ALL_DEPENDENCY_DIRS :=
|
||||
|
||||
# this is the list of all generated files that we would need to clean
|
||||
ALL_HOST_EXECUTABLES :=
|
||||
@@ -290,5 +290,5 @@ clean-config:
|
||||
$(hide) rm -f $(CONFIG_MAKE) $(CONFIG_H)
|
||||
|
||||
# include dependency information
|
||||
DEPENDENCY_DIRS := $(sort $(DEPENDENCY_DIRS))
|
||||
-include $(wildcard $(DEPENDENCY_DIRS:%=%/*.d))
|
||||
ALL_DEPENDENCY_DIRS := $(sort $(ALL_DEPENDENCY_DIRS))
|
||||
-include $(wildcard $(ALL_DEPENDENCY_DIRS:%=%/*.d))
|
||||
|
||||
Reference in New Issue
Block a user