From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XKSDo-0005tc-5A for ptxdist@pengutronix.de; Thu, 21 Aug 2014 15:16:08 +0200 Received: by mail-wi0-f169.google.com with SMTP id n3so8052411wiv.4 for ; Thu, 21 Aug 2014 06:16:02 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20140821094429.GA30261@omega> References: <20140821094429.GA30261@omega> Date: Thu, 21 Aug 2014 15:16:02 +0200 Message-ID: From: Wim Vinckier Subject: Re: [ptxdist] Running autogen.sh in prepare step Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Thu, Aug 21, 2014 at 11:44 AM, Alexander Aring wrote: > Hi, > > On Thu, Aug 21, 2014 at 11:20:05AM +0200, Wim Vinckier wrote: >> Hi, >> >> I'm trying to compile axis2c for arm but it fails. I'm wondering if >> I'm running autogen.sh correctly. Currently I run it from my >> operating system but maybe I have to do it from the crosscompile >> environment so I'm wondering how I have to specify in my make file how >> to run autogen.sh in the prepare step. >> > > I think this can be done if you add a patches directory and add a > autogen.sh file in there. Note this should be executable. > > Like screen see [0]. We have patches which change the buildsystem so we > need to rerun autoreconf, etc. > > At the most cases autogen.sh in ./patches/foobar/autogen.sh is a > symlink to ./patches/autogen.sh > > But in your BSP there should not be a patches/autogen.sh, I prefer to > copy this file from ptxdist in my BSP patches directory. Easier for me > to bring new rules mainline. > > - Alex > > [0] http://git.pengutronix.de/?p=ptxdist.git;a=tree;f=patches/screen-4.0.3 > Thanks for the tip. I found more about it in the ptx guru document. I currently managed to build it but it looks like pkg-config still files when I try to use libxml. I think I'll have to read some extra manuals. wim. -- ptxdist mailing list ptxdist@pengutronix.de