aboutsummaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorTom Marshall <tdm@cyngn.com>2014-10-01 14:49:05 -0700
committerSteve Kondik <shade@chemlab.org>2015-11-07 01:32:47 -0800
commit4b8060e6d57dec671f10949cc8cdd97268d3d9b8 (patch)
tree1936930983bfa6d49a175f0b7acaf87b505a1646 /Android.mk
parent66f43493f0a0a6ccfb9cf1731c00dadb4176d377 (diff)
downloadbootable_recovery-4b8060e6d57dec671f10949cc8cdd97268d3d9b8.zip
bootable_recovery-4b8060e6d57dec671f10949cc8cdd97268d3d9b8.tar.gz
bootable_recovery-4b8060e6d57dec671f10949cc8cdd97268d3d9b8.tar.bz2
sr: Use pathmap for recovery
Change-Id: I6350618e1e04819d52f1049f9f2fb61c833a1b45
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index 0fd3f3a..295a41c 100644
--- a/Android.mk
+++ b/Android.mk
@@ -12,8 +12,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
-LOCAL_PATH := $(call my-dir)
+ifeq ($(call my-dir),$(call project-path-for,recovery))
+LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -133,3 +134,5 @@ include $(LOCAL_PATH)/minui/Android.mk \
$(LOCAL_PATH)/uncrypt/Android.mk \
$(LOCAL_PATH)/updater/Android.mk \
$(LOCAL_PATH)/applypatch/Android.mk
+
+endif