From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:6f8:1178:2:5054:ff:fec0:8e10] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1VZGhs-0008KR-SZ for ptxdist@pengutronix.de; Thu, 24 Oct 2013 10:55:52 +0200 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1VZGhs-0007kX-Qt for ptxdist@pengutronix.de; Thu, 24 Oct 2013 10:55:52 +0200 Date: Thu, 24 Oct 2013 10:55:52 +0200 From: Michael Olbrich Message-ID: <20131024085552.GD9225@pengutronix.de> References: <526700F2.30808@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] Different Scenario: how to solve it? 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 On Wed, Oct 23, 2013 at 09:52:05AM +0200, Javier Fileiv wrote: > 2013/10/23 Marc Kleine-Budde > > On 10/22/2013 03:44 PM, Javier Fileiv wrote: > > > Hello everyone, I have the following scenario. > > > > > > My package is in a folder, where there is another folder inside which > > > contains the Makefile. No autotools is required. > > > > > > If I create a newpackge with ptxdist newpackage target, it will create > > > the .make and .rule file. But how can I tell to the "compile" step that > > > my Makefile is in ./src an not in ./ ?? I was trying to add a simple > > > > define in your .make file > > > > _SUBDIR := src > > > > > Am I able to add my own bash scripts there? I don't understand this. > Also, is it possible to get a package from git instead of from the web? How > can I do that? _URL := git://git.some-host.net/foo.git;tag=v42 Note: this only works with fix versions you cannot track a branch. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de