diff options
author | David 'Digit' Turner <digit@android.com> | 2011-03-28 17:41:22 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2011-03-28 17:41:22 -0700 |
commit | 53d2a9a1acd2182a525401f3c1a82faff178a9d8 (patch) | |
tree | d6aa8a91168f9d921150b37cf985488155c21ce8 /core/Makefile | |
parent | 9b4660a1c6edae915c39261bc3d1a3f3696075c4 (diff) | |
parent | 440d7e1e5bb732ff8638af40e112e1df98e1f537 (diff) | |
download | build-53d2a9a1acd2182a525401f3c1a82faff178a9d8.zip build-53d2a9a1acd2182a525401f3c1a82faff178a9d8.tar.gz build-53d2a9a1acd2182a525401f3c1a82faff178a9d8.tar.bz2 |
am 440d7e1e: am 9fe6dc2c: Merge "Support target-specific sdk/build/tools.atree extension."
* commit '440d7e1e5bb732ff8638af40e112e1df98e1f537':
Support target-specific sdk/build/tools.atree extension.
Diffstat (limited to 'core/Makefile')
-rw-r--r-- | core/Makefile | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/core/Makefile b/core/Makefile index 2377626..0af846e 100644 --- a/core/Makefile +++ b/core/Makefile @@ -1342,11 +1342,21 @@ endif atree_dir := development/build +# sdk/build/tools.atree contains the generic rules, while +# +# sdk/build/tools.$(TARGET_ARCH).atree contains target-specific rules +# the latter is optional. +# +sdk_tools_atree_files := sdk/build/tools.atree +ifneq (,$(strip $(wildcard sdk/build/tools.$(TARGET_ARCH).atree))) + sdk_tools_atree_files += sdk/build/tools.$(TARGET_ARCH).atree +endif + sdk_atree_files := \ $(atree_dir)/sdk.exclude.atree \ $(atree_dir)/sdk.atree \ $(atree_dir)/sdk-$(HOST_OS)-$(HOST_ARCH).atree \ - sdk/build/tools.atree + $(sdk_tools_atree_files) deps := \ $(target_notice_file_txt) \ @@ -1360,7 +1370,7 @@ deps := \ $(INSTALLED_BUILD_PROP_TARGET) \ $(ATREE_FILES) \ $(atree_dir)/sdk.atree \ - sdk/build/tools.atree \ + $(sdk_tools_atree_files) \ $(HOST_OUT_EXECUTABLES)/atree \ $(HOST_OUT_EXECUTABLES)/line_endings |