[oe-commits] org.oe.dev btsco: stop configure from putting -I/usr/include into the commmand line, fixes the problems people where seeing in #oe

koen commit openembedded-commits at lists.openembedded.org
Fri Nov 24 19:31:07 UTC 2006


btsco: stop configure from putting -I/usr/include into the commmand line, fixes the problems people where seeing in #oe
* config.log is a handy debug tool

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 14c3e0e9b46fd8a7eea8892c338da559032a5f30
ViewMTN: http://monotone.openembedded.org/revision.psp?id=14c3e0e9b46fd8a7eea8892c338da559032a5f30
Files:
1
packages/btsco/btsco_0.42.bb
Diffs:

#
# mt diff -reba4ce2543ebf7d29b3e9a78c4eda7758bbb42b8 -r14c3e0e9b46fd8a7eea8892c338da559032a5f30
#
# 
# 
# patch "packages/btsco/btsco_0.42.bb"
#  from [b98b2f48e396aa7cda4cbd035d81547d98de80b4]
#    to [b6a271c49a8b46939a33ed844ab23828aa051b58]
# 
============================================================
--- packages/btsco/btsco_0.42.bb	b98b2f48e396aa7cda4cbd035d81547d98de80b4
+++ packages/btsco/btsco_0.42.bb	b6a271c49a8b46939a33ed844ab23828aa051b58
@@ -9,3 +9,13 @@ S = "${WORKDIR}/${PN}-${PV}"
 SRC_URI = "${SOURCEFORGE_MIRROR}/bluetooth-alsa/btsco-${PV}.tar.gz"
 
 S = "${WORKDIR}/${PN}-${PV}"
+
+CFLAGS += " -I${STAGING_INCDIR} "
+
+#there are some bogus macros putting -I/usr/include into C(PP)FLAGS, lets fix that
+do_configure() {
+	libtoolize --force
+	gnu-configize 
+	sed -i 's:-I${bluez_prefix}/include::g' configure
+	oe_runconf
+}	






More information about the Openembedded-commits mailing list