OSDN Git Service

Normalize the product makefile path in inherit-product.
authorYing Wang <wangying@google.com>
Wed, 28 Oct 2015 21:33:40 +0000 (14:33 -0700)
committerYing Wang <wangying@google.com>
Wed, 28 Oct 2015 22:20:41 +0000 (15:20 -0700)
commita17426104219f3c06244f92d73b6c938949d0fe3
tree4ae96fc8323b274c3a79aa84a6536a81ffb86183
parentdda5e96b144c15a75d625ceac7e92b50cf9c363a
Normalize the product makefile path in inherit-product.

Some vendor product makefiles call $(inherit-product) on the same
product makefile with different paths, by using "../" in relative paths.
However inherit-product requires unique path as ID for a product
makefile, for bookkeeping purpose.
Normalize the product makefile path in inherit-product, if the path
contains "../".

Change-Id: I1a864ce120c713d8e79ec179213b9fc9352aba53
core/config.mk
core/product.mk
tools/normalize_path.py