diff options
author | Kevin Rocard <kevinx.rocard@intel.com> | 2013-06-21 14:33:52 +0200 |
---|---|---|
committer | David Wagner <david.wagner@intel.com> | 2014-02-12 17:03:57 +0100 |
commit | 413c3dfd41b74f222d9daae45608d2fe2039d643 (patch) | |
tree | 068d7b57fd10ac6ccc4940d38b74f6f1f8be7b53 /test | |
parent | 265e43c734a2a5cbe49bf0aea897dd574e9bd843 (diff) | |
download | external_parameter-framework-413c3dfd41b74f222d9daae45608d2fe2039d643.zip external_parameter-framework-413c3dfd41b74f222d9daae45608d2fe2039d643.tar.gz external_parameter-framework-413c3dfd41b74f222d9daae45608d2fe2039d643.tar.bz2 |
[Makefile] Append "_host" to host modules names
BZ: 115743
In some parameter framework makefiles, host and target modules (with the
same name) are defined in the same file.
External prebuilt framework properly handle this case when modules are
defined in different Android.mk, but there is a limitation when modules
are defined in same Android.mk.
Append _host to all host modules.
Change-Id: Ib594dabd86617cc40993066338f095b49afb2ea2
Signed-off-by: Kevin Rocard <kevinx.rocard@intel.com>
Reviewed-on: http://android.intel.com:8080/113537
Reviewed-by: Denneulin, Guillaume <guillaume.denneulin@intel.com>
Reviewed-by: De Chivre, Renaud <renaud.de.chivre@intel.com>
Tested-by: Dixon, CharlesX <charlesx.dixon@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/test-platform/Android.mk | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/test-platform/Android.mk b/test/test-platform/Android.mk index 759af73..5a91b02 100644 --- a/test/test-platform/Android.mk +++ b/test/test-platform/Android.mk @@ -44,13 +44,14 @@ include $(CLEAR_VARS) LOCAL_SRC_FILES:= $(COMMON_SRC_FILES) -LOCAL_MODULE:= $(COMMON_MODULE) +LOCAL_MODULE:= $(COMMON_MODULE)_host LOCAL_MODULE_TAGS := $(COMMON_MODULE_TAGS) LOCAL_CFLAGS += $(COMMON_CFLAGS) LOCAL_C_INCLUDES += $(COMMON_C_INCLUDES) -LOCAL_SHARED_LIBRARIES := $(COMMON_SHARED_LIBRARIES) +LOCAL_SHARED_LIBRARIES := $(foreach SHARED_LIBRARY,$(COMMON_SHARED_LIBRARIES), \ + $(SHARED_LIBRARY)_host) include $(BUILD_HOST_EXECUTABLE) |