OSDN Git Service

Fix handling of .o files in LOCAL_GENERATED_SOURCES.
authorTorne (Richard Coles) <torne@google.com>
Thu, 29 Aug 2013 14:36:34 +0000 (15:36 +0100)
committerTorne (Richard Coles) <torne@google.com>
Thu, 29 Aug 2013 14:36:34 +0000 (15:36 +0100)
commita5afbe8ac666615058e200ecf8fbc4908eadb95d
tree234b2634e8293cf76c660d4d7fde0e1fad399405
parent5430aeab36f6c2d2a8ee0cdf3f5fbc0f15dd6dcf
Fix handling of .o files in LOCAL_GENERATED_SOURCES.

Rule-generated .o files (in gen_o_objects) were being given a dependency
on everything in LOCAL_GENERATED_SOURCES (except for other .o files);
unfortunately this can still create cycles in cases where there are
explicit dependencies between entries in LOCAL_GENERATED_SOURCES.

Instead, make handling of generated .o files consistent with other
generated files (which don't automatically get any dependencies on other
generated files) by excluding them from the target side of the rule.

Change-Id: I3fb5652dc3d85012c179a03b81887d16a85ab3bf
core/binary.mk