* [Buildroot] [pull request] Pull request for branch other-build-fixes
@ 2010-07-18 21:30 Thomas Petazzoni
2010-07-18 21:30 ` [Buildroot] [PATCH 1/2] neon: explicit path to xml2-config Thomas Petazzoni
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-07-18 21:30 UTC (permalink / raw)
To: buildroot
The following changes since commit 1eb59f598f52b65b3d3adfcf74729091e95015f0:
Peter Korsgaard (1):
CHANGES: #2191 is resolved
are available in the git repository at:
git://git.busybox.net/~tpetazzoni/git/buildroot other-build-fixes
Thomas Petazzoni (2):
neon: explicit path to xml2-config
alsa-lib: make sure to only look in STAGING_DIR for Python includes
package/multimedia/alsa-lib/alsa-lib.mk | 4 +++-
package/neon/neon.mk | 1 +
2 files changed, 4 insertions(+), 1 deletions(-)
Thanks,
--
Thomas Petazzoni
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 1/2] neon: explicit path to xml2-config
2010-07-18 21:30 [Buildroot] [pull request] Pull request for branch other-build-fixes Thomas Petazzoni
@ 2010-07-18 21:30 ` Thomas Petazzoni
2010-07-18 21:30 ` [Buildroot] [PATCH 2/2] alsa-lib: make sure to only look in STAGING_DIR for Python includes Thomas Petazzoni
2010-07-18 21:39 ` [Buildroot] [pull request] Pull request for branch other-build-fixes Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-07-18 21:30 UTC (permalink / raw)
To: buildroot
Now that $(STAGING_DIR)/usr/bin is not in the PATH, we need to
explicit the path to such tools.
This might also fix bug 1393 since by expliciting the path to
xml2-config, we'll force neon ./configure to choose our xml2-config
and not the one of the host.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/neon/neon.mk | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/package/neon/neon.mk b/package/neon/neon.mk
index ed5f999..e942f87 100644
--- a/package/neon/neon.mk
+++ b/package/neon/neon.mk
@@ -14,6 +14,7 @@ NEON_DEPENDENCIES:=host-pkg-config
ifeq ($(BR2_PACKAGE_NEON_LIBXML2),y)
NEON_CONF_OPT+=--with-libxml2=yes
NEON_CONF_OPT+=--with-expat=no
+NEON_CONF_ENV+=ac_cv_prog_XML2_CONFIG=$(STAGING_DIR)/usr/bin/xml2-config
NEON_DEPENDENCIES+=libxml2
endif
ifeq ($(BR2_PACKAGE_NEON_ZLIB),y)
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/2] alsa-lib: make sure to only look in STAGING_DIR for Python includes
2010-07-18 21:30 [Buildroot] [pull request] Pull request for branch other-build-fixes Thomas Petazzoni
2010-07-18 21:30 ` [Buildroot] [PATCH 1/2] neon: explicit path to xml2-config Thomas Petazzoni
@ 2010-07-18 21:30 ` Thomas Petazzoni
2010-07-18 21:39 ` [Buildroot] [pull request] Pull request for branch other-build-fixes Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-07-18 21:30 UTC (permalink / raw)
To: buildroot
Even though we pass a -I option to tell alsa-lib to look for Python
includes in the STAGING_DIR, alsa-lib build process still looks in
/usr/include for some stuff, causing bug #321.
This fix is the one suggested by Ulf Samuelsson in bug #321, and
allows to make alsa-lib with Python support to build properly on a 64
bits machine with python-dev installed on the host. Without this fix,
the build fails with exactly the same problem that Ulf reported.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
---
package/multimedia/alsa-lib/alsa-lib.mk | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/package/multimedia/alsa-lib/alsa-lib.mk b/package/multimedia/alsa-lib/alsa-lib.mk
index 1f120c6..6e4c575 100644
--- a/package/multimedia/alsa-lib/alsa-lib.mk
+++ b/package/multimedia/alsa-lib/alsa-lib.mk
@@ -54,7 +54,9 @@ ALSA_LIB_CFLAGS+=-DAVR32_INLINE_BUG
endif
ifeq ($(BR2_PACKAGE_ALSA_LIB_PYTHON),y)
-ALSA_LIB_CONF_OPT += --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR)
+ALSA_LIB_CONF_OPT += \
+ --with-pythonlibs=-lpython$(PYTHON_VERSION_MAJOR) \
+ --with-pythonincludes=$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
ALSA_LIB_CFLAGS+=-I$(STAGING_DIR)/usr/include/python$(PYTHON_VERSION_MAJOR)
ALSA_LIB_DEPENDENCIES = libpython
else
--
1.7.0.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [pull request] Pull request for branch other-build-fixes
2010-07-18 21:30 [Buildroot] [pull request] Pull request for branch other-build-fixes Thomas Petazzoni
2010-07-18 21:30 ` [Buildroot] [PATCH 1/2] neon: explicit path to xml2-config Thomas Petazzoni
2010-07-18 21:30 ` [Buildroot] [PATCH 2/2] alsa-lib: make sure to only look in STAGING_DIR for Python includes Thomas Petazzoni
@ 2010-07-18 21:39 ` Peter Korsgaard
2 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2010-07-18 21:39 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Thomas> The following changes since commit 1eb59f598f52b65b3d3adfcf74729091e95015f0:
Thomas> Peter Korsgaard (1):
Thomas> CHANGES: #2191 is resolved
Thomas> are available in the git repository at:
Thomas> git://git.busybox.net/~tpetazzoni/git/buildroot other-build-fixes
Pulled and pushed, thanks!
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-07-18 21:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-18 21:30 [Buildroot] [pull request] Pull request for branch other-build-fixes Thomas Petazzoni
2010-07-18 21:30 ` [Buildroot] [PATCH 1/2] neon: explicit path to xml2-config Thomas Petazzoni
2010-07-18 21:30 ` [Buildroot] [PATCH 2/2] alsa-lib: make sure to only look in STAGING_DIR for Python includes Thomas Petazzoni
2010-07-18 21:39 ` [Buildroot] [pull request] Pull request for branch other-build-fixes Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox