summaryrefslogtreecommitdiff
path: root/mk/python.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/python.mk')
-rw-r--r--mk/python.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/python.mk b/mk/python.mk
index 5767b12f7..933bd0065 100644
--- a/mk/python.mk
+++ b/mk/python.mk
@@ -1,3 +1,8 @@
PYTHON_VERSION=2.7
+ifeq ($(ADK_NATIVE),)
PYTHON_LIBDIR:=$(STAGING_HOST_DIR)/usr/lib
PYTHON:=${STAGING_HOST_DIR}/usr/bin/hostpython
+else
+PYTHON_LIBDIR:=/usr/lib
+PYTHON:=/usr/bin/python
+endif