From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: From: Juergen Borleis Date: Wed, 4 Jun 2014 08:56:48 +0200 References: In-Reply-To: MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201406040856.49010.jbe@pengutronix.de> Subject: Re: [ptxdist] ptxdist commands 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="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Sophie CARAYOL Hi Sophie, On Tuesday 03 June 2014 17:29:03 Sophie CARAYOL wrote: > I don't find some explanations about ptxdist in the developer's manual. > - What's the difference between 'ptxdist clean' 'ptxdist drop' "clean" removes files, while "drop" only remove state information. > - If I made some modifications on files (for example in u-boot or kernel), > what is the right command to re-build the project. PTXdist works with states for every single package. It walks through the ma= in = states in the following order: - get: get package sources - extract: extract package (its archive for example) - prepare: run configure stages for this package - compile: compile the sources of this package - install: install the results into the corresponding sysroot/ - targetinstall: create the content for the ipkg and install files for tar= get into root/ So it depends on what you want PTXdist to do again. If you have modified = sources in the build directory of a package and you want to force PTXdist t= o = re-compile this changes again, just drop the package's "compile" stage. In = the = case of the kernel: ptxdist targetinstall kernel do { ptxdist drop kernel.compile ptxdist targetinstall kernel } while (!does_work_now) Maybe the section "Using an External Kernel Source Tree" in the manual can = help = you. Regards, J=FCrgen -- = Pengutronix e.K. =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0| Juergen Borleis =A0 =A0 =A0 =A0 =A0 =A0 | Linux Solutions for Science and Industry =A0 =A0 =A0| http://www.pengutroni= x.de/ | -- = ptxdist mailing list ptxdist@pengutronix.de