From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from webbox1416.server-home.net ([77.236.96.61]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YGUU4-0008Qk-Gq for ptxdist@pengutronix.de; Wed, 28 Jan 2015 16:24:49 +0100 From: Alexander Stein Date: Wed, 28 Jan 2015 16:25:55 +0100 Message-ID: <6626243.0kc6lunseE@ws-stein> In-Reply-To: References: MIME-Version: 1.0 Subject: Re: [ptxdist] Building local package out of tree 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 Cc: Guillermo Rodriguez Garcia Hi, On Wednesday 28 January 2015 16:19:41, Guillermo Rodriguez Garcia wrote: > I am trying to force ptxdist to build a local package (sources in > local_src/) out of tree, so that I can build for different > platforms from the same BSP. This package is very simple and uses a > standard makefile. For building out of tree; I would suggest using cmake. This makes building OOT quite an easy task. As you only have a simple makefile setting up CMakeLists.txt is not that hard. If the build process is more complicated you anyway want to use a build system like cmake. > Do I need to do something else besides setting _BUILD_OOT ? IIRC this option enabled by default for cmake packages. -- Dipl.-Inf. Alexander Stein SYS TEC electronic GmbH Am Windrad 2 08468 Heinsdorfergrund Tel.: 03765 38600-1156 Fax: 03765 38600-4100 Email: alexander.stein@systec-electronic.com Website: www.systec-electronic.com Managing Director: Dipl.-Phys. Siegmar Schmidt Commercial registry: Amtsgericht Chemnitz, HRB 28082 -- ptxdist mailing list ptxdist@pengutronix.de