diff options
author | Colin Cross <ccross@android.com> | 2014-03-21 12:27:37 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2014-03-25 13:49:58 -0700 |
commit | 5a9db90e408e8d5c2079c8ec79a3e9896d3c02f4 (patch) | |
tree | 17560654167455725cce1459bdc5d426e980fb0a /core/shared_library_internal.mk | |
parent | 87974056d901acb61c9c6d67fc99f5fad36a5730 (diff) | |
download | build-5a9db90e408e8d5c2079c8ec79a3e9896d3c02f4.zip build-5a9db90e408e8d5c2079c8ec79a3e9896d3c02f4.tar.gz build-5a9db90e408e8d5c2079c8ec79a3e9896d3c02f4.tar.bz2 |
add support for LOCAL_MODULE_STEM_32 and LOCAL_MODULE_STEM_64
Some executables will need to be built for both 32-bit and 64-bit.
For linker/linker64, debuggerd/debuggerd64, and a few more, they
will be installed in the same path (/system/bin), but with different
filenames. Allow the module to specify LOCAL_MODULE_STEM_32 and
LOCAL_MODULE_STEM_64 to name the two versions.
Change-Id: I573e8678c7332245a064f31246be0a05f0a9e25f
Diffstat (limited to 'core/shared_library_internal.mk')
-rw-r--r-- | core/shared_library_internal.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/shared_library_internal.mk b/core/shared_library_internal.mk index b5ac32a..3090d36 100644 --- a/core/shared_library_internal.mk +++ b/core/shared_library_internal.mk @@ -16,7 +16,7 @@ endif ifneq ($(strip $(OVERRIDE_BUILT_MODULE_PATH)),) $(error $(LOCAL_PATH): Illegal use of OVERRIDE_BUILT_MODULE_PATH) endif -ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)),) +ifneq ($(strip $(LOCAL_MODULE_STEM)$(LOCAL_BUILT_MODULE_STEM)$(LOCAL_MODULE_STEM_32)$(LOCAL_MODULE_STEM_64)),) $(error $(LOCAL_PATH): Cannot set module stem for a library) endif |