summaryrefslogtreecommitdiffstats
path: root/rules/python.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2014-03-28 10:33:47 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2014-03-28 11:29:50 +0100
commit1a290ff6e1233edebb2423a93a10c4101b5386f4 (patch)
treee7286a06b5ff94611aced7ebd7454e55ffdacde5 /rules/python.make
parenta2e5604a8f6a3752b79331333116c2263c1a17ca (diff)
downloadptxdist-1a290ff6e1233edebb2423a93a10c4101b5386f4.tar.gz
ptxdist-1a290ff6e1233edebb2423a93a10c4101b5386f4.tar.xz
python: let CROSS_PYTHON find site-packages in SYSROOT_HOST
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/python.make')
-rw-r--r--rules/python.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/python.make b/rules/python.make
index 5b52058ce..15cac217d 100644
--- a/rules/python.make
+++ b/rules/python.make
@@ -112,7 +112,8 @@ $(STATEDIR)/python.install:
PYTHON_PYTHONPATH := \
$(SYSROOT)/usr/lib/python$(PYTHON_MAJORMINOR) \
$(SYSROOT)/usr/lib/python$(PYTHON_MAJORMINOR)/plat-linux2 \
- $(PTXCONF_SYSROOT_HOST)/lib/python$(PYTHON_MAJORMINOR)/lib-dynload
+ $(PTXCONF_SYSROOT_HOST)/lib/python$(PYTHON_MAJORMINOR)/lib-dynload \
+ $(PTXCONF_SYSROOT_HOST)/lib/python$(PYTHON_MAJORMINOR)/site-packages
$(STATEDIR)/python.install.post:
@$(call targetinfo)