Received: from [81.169.183.159] (helo=coruscant.onosendai.de) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1JZMIW-00042A-DU for openembedded-devel@lists.openembedded.org; Wed, 12 Mar 2008 09:26:54 +0100 Received: from firewall.tw.openmoko.org ([124.219.5.210] helo=tamarin.local) by coruscant.onosendai.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JZMGY-0008Py-1q for openembedded-devel@lists.openembedded.org; Wed, 12 Mar 2008 09:24:50 +0100 From: Holger Freyther To: openembedded-devel@lists.openembedded.org Date: Wed, 12 Mar 2008 09:24:39 +0100 User-Agent: KMail/1.9.9 References: <200803120827.29003.zecke@selfish.org> In-Reply-To: MIME-Version: 1.0 Message-Id: <200803120924.42667.zecke@selfish.org> X-SA-Exim-Connect-IP: 81.169.183.159 X-SA-Exim-Mail-From: zecke@selfish.org X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on serenity X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=RDNS_NONE autolearn=no version=3.2.3 X-SA-Exim-Version: 4.2.1 (built Tue, 21 Aug 2007 23:39:36 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: staging ABI changes and broken idium X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 08:26:54 -0000 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Wednesday 12 March 2008 08:54:56 Koen Kooi wrote: > Holger Freyther schreef: Makefile's: with sed s,/usr/include,/stuff/tmp/staging/arm-linux/usr/include, the include path: -I/stuff/tmp/staging/arm-linux/usr/include gets transformed to -I/stuff/tmp/staging/arm-linux/stuff/tmp/staging/arm-linux/usr/include The effect is: The first path is right the 2nd is wrong and no headers are found. We still need to remove -I/usr/include and -L/usr/lib from the compiler line. So either we change the sed -i s... to not change the path if it is already ${STAGING_INCDIR}, I would need some sed help here and move this sed string to base.bbclass (also for STAGING_LIBDIR), or go for -I/usr/include,-I${STAGING_INCDIR} binconfig: yes the binconfig.bbclass should point to the absolute staging inc and libdir and there such a sed could make sense. I see we patch: configure.in/configure, Makefile and once or twice some other files. let me follow up with fishy files.