summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher R. Palmer <crpalmer@gmail.com>2015-11-23 20:30:19 -0500
committerChristopher R. Palmer <crpalmer@gmail.com>2015-11-23 20:30:19 -0500
commite3085f770de6e802aba09946b18547d70c054e9e (patch)
tree2066e3f21133829ed1eb9170b9c8ddd18c1b857e
parent0289ec9ab72a1135cc8c06222cdf970a78b7b5d7 (diff)
downloadandroid_hardware_ril-e3085f770de6e802aba09946b18547d70c054e9e.tar.gz
android_hardware_ril-e3085f770de6e802aba09946b18547d70c054e9e.tar.bz2
android_hardware_ril-e3085f770de6e802aba09946b18547d70c054e9e.zip
ril: Allow devices to opt-out of building rild
Change-Id: I0e986018dccb53fdcb695c85b54776889c2f8ddc
-rw-r--r--rild/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/rild/Android.mk b/rild/Android.mk
index 8aae88d..3db2cb8 100644
--- a/rild/Android.mk
+++ b/rild/Android.mk
@@ -1,5 +1,7 @@
# Copyright 2006 The Android Open Source Project
+ifneq ($(BOARD_PROVIDES_RILD),true)
+
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
@@ -48,3 +50,5 @@ LOCAL_MODULE:= radiooptions
LOCAL_MODULE_TAGS := debug
include $(BUILD_EXECUTABLE)
+
+endif