summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2011-06-20 22:33:28 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2011-06-20 23:00:03 +0200
commit0850d878d413c07bc57271f03d136dbe9fc93353 (patch)
tree4cc3851e3345e5e4b05ce7f1b279a14ab446f30b
parent63149ff856b49baedd0306eaf7790dab5340d529 (diff)
downloadptxdist-0850d878d413c07bc57271f03d136dbe9fc93353.tar.gz
ptxdist-0850d878d413c07bc57271f03d136dbe9fc93353.tar.xz
host-shiboken: fix path replacement
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/host-shiboken.make11
1 files changed, 10 insertions, 1 deletions
diff --git a/rules/host-shiboken.make b/rules/host-shiboken.make
index 601eab351..bf12f7bd7 100644
--- a/rules/host-shiboken.make
+++ b/rules/host-shiboken.make
@@ -33,11 +33,20 @@ HOST_SHIBOKEN_CONF_OPT := \
# Install
# ----------------------------------------------------------------------------
+$(STATEDIR)/host-shiboken.install:
+ @$(call targetinfo)
+ @$(call world/install, HOST_SHIBOKEN)
+ @sed -i -e 's,"$(PTXCONF_SYSROOT_HOST),",g' \
+ $(HOST_SHIBOKEN_PKGDIR)/lib/cmake/Shiboken-$(SHIBOKEN_VERSION)/ShibokenConfig-python$(PYTHON_MAJORMINOR).cmake
+ @$(call touch)
+
$(STATEDIR)/host-shiboken.install.post:
@$(call targetinfo)
@$(call world/install.post, HOST_SHIBOKEN)
- @sed -i -e 's,"/,"$(PTXCONF_SYSROOT_HOST)/,g' \
+ @sed -i -e 's,(/,($(PTXCONF_SYSROOT_HOST)/,g' \
'$(PTXCONF_SYSROOT_HOST)/lib/cmake/Shiboken-$(SHIBOKEN_VERSION)/ShibokenConfig.cmake'
+ @sed -i -e 's,"/,"$(PTXCONF_SYSROOT_HOST)/,g' \
+ '$(PTXCONF_SYSROOT_HOST)/lib/cmake/Shiboken-$(SHIBOKEN_VERSION)/ShibokenConfig-python$(PYTHON_MAJORMINOR).cmake'
@$(call touch)
# vim: syntax=make