summaryrefslogtreecommitdiffstats
path: root/rules/dbus-python.make
diff options
context:
space:
mode:
authorRobert Schwebel <r.schwebel@pengutronix.de>2009-04-02 20:37:06 +0000
committerRobert Schwebel <r.schwebel@pengutronix.de>2009-04-02 20:37:06 +0000
commitfa56ced1b4e6594e6a43120b108b6caf77ad5b24 (patch)
treeb25ee6b0714135029438a6b6416de39e0c1a4165 /rules/dbus-python.make
parent3339e7cb35ee785068e2716a6c842d0170b5e60a (diff)
downloadptxdist-fa56ced1b4e6594e6a43120b108b6caf77ad5b24.tar.gz
ptxdist-fa56ced1b4e6594e6a43120b108b6caf77ad5b24.tar.xz
* dbus-python: use correct header files for 'host' python
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10206 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'rules/dbus-python.make')
-rw-r--r--rules/dbus-python.make19
1 files changed, 18 insertions, 1 deletions
diff --git a/rules/dbus-python.make b/rules/dbus-python.make
index cc8bc44f8..a3e8dcbee 100644
--- a/rules/dbus-python.make
+++ b/rules/dbus-python.make
@@ -33,6 +33,22 @@ $(DBUS_PYTHON_SOURCE):
@$(call get, DBUS_PYTHON)
# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/dbus-python.extract:
+ @$(call targetinfo)
+ @$(call clean, $(DBUS_PYTHON_DIR))
+ @$(call extract, DBUS_PYTHON)
+ @$(call patchin, DBUS_PYTHON)
+ # touch autoconf files in correct order
+ cd $(DBUS_PYTHON_DIR); \
+ touch aclocal.m4; \
+ find . -name "Makefile.in" | xargs touch; \
+ touch config.h.in
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
# Prepare
# ----------------------------------------------------------------------------
@@ -45,7 +61,8 @@ DBUS_PYTHON_ENV := $(CROSS_ENV)
DBUS_PYTHON_AUTOCONF := \
$(CROSS_AUTOCONF_USR) \
--disable-html-docs \
- --disable-api-docs
+ --disable-api-docs \
+ --with-python-includes=$(SYSROOT)/usr/include
# ----------------------------------------------------------------------------
# Target-Install