summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Hurst <shurst@google.com>2015-12-18 15:34:59 -0800
committerSam Hurst <shurst@google.com>2015-12-21 08:25:34 -0800
commit46dc54def6ae69fc11f714f43248692a559e2f88 (patch)
tree892d44b65643d83db5a1def62393ffb269db2104
parentc02c167266e884f8e0e9adae9cef02501c7363ce (diff)
downloadfreescale-46dc54def6ae69fc11f714f43248692a559e2f88.tar.gz
Prevent macro duplications across targets
Bug: 26269814 Change-Id: I8147f89271d73b7ba332569e9c2572c8385d8829
-rw-r--r--peripheral/wifi/bcm4339/Android.mk7
1 files changed, 6 insertions, 1 deletions
diff --git a/peripheral/wifi/bcm4339/Android.mk b/peripheral/wifi/bcm4339/Android.mk
index 6735f86..9998a5f 100644
--- a/peripheral/wifi/bcm4339/Android.mk
+++ b/peripheral/wifi/bcm4339/Android.mk
@@ -12,9 +12,13 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-ifeq ($(findstring imx, $(soc_name)), imx)
LOCAL_PATH := $(call my-dir)
+ifeq ($(findstring imx, $(soc_name)), imx)
+ifneq ($(TARGET_SIMULATOR),true)
+
+# HAL module implemenation, not prelinked, and stored in
+# hw/<SENSORS_HARDWARE_MODULE_ID>.<ro.product.board>.so
include $(CLEAR_VARS)
LOCAL_CFLAGS += -Wno-unused-parameter
@@ -29,4 +33,5 @@ LOCAL_MODULE_TAGS := eng
include $(BUILD_SHARED_LIBRARY)
+endif # !TARGET_SIMULATOR
endif