diff options
author | Denis OSTERLAND <denis.osterland@diehl.com> | 2019-01-21 12:01:21 +0000 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2019-02-06 07:15:53 +0100 |
commit | e59457c6d8ff080aca07352e7adb3ff73d976ae6 (patch) | |
tree | 97ee207873e49e31bfaf570bb48474a008b12dfd /rules | |
parent | 5536f2d8d128647428b6116b46b43c6397b6c9dd (diff) | |
download | ptxdist-e59457c6d8ff080aca07352e7adb3ff73d976ae6.tar.gz ptxdist-e59457c6d8ff080aca07352e7adb3ff73d976ae6.tar.xz |
rules: install to sysroot-host/bin with HOST_PYTHON and HOST_SYSTEM_PYTHON
Using system python "install --prefix= --root=..." gets resolved to
"/local/bin" installation prefix.
With self compiled python to "/bin".
With "--prefix=" system python uses "/usr/local/bin" and self
compiled "/bin".
With "--prefix=/" the following "--root=..." is ignored.
With "--prefix=/." system python uses "/./bin" and self compiled, too.
Signed-off-by: Denis Osterland <Denis.Osterland@diehl.com>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r-- | rules/pre/Rules.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/pre/Rules.make b/rules/pre/Rules.make index fbf5f1fad..28dbcb3bb 100644 --- a/rules/pre/Rules.make +++ b/rules/pre/Rules.make @@ -246,7 +246,7 @@ CROSS_QMAKE_OPT := \ $(if $(filter 0,$(PTXDIST_VERBOSE)),CONFIG+=silent) CROSS_PYTHON_INSTALL := install --prefix=/usr -HOST_PYTHON_INSTALL := install --prefix= +HOST_PYTHON_INSTALL := install --prefix=/. CROSS_MESON_USR := \ --prefix /usr \ |