mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: CARAYOL Sophie <s.carayol@lacroix-electronics.com>
To: Juergen Borleis <jbe@pengutronix.de>,
	"ptxdist@pengutronix.de" <ptxdist@pengutronix.de>
Subject: Re: [ptxdist] ptxdist commands
Date: Wed, 4 Jun 2014 07:48:17 +0000	[thread overview]
Message-ID: <5b07ffd1876d431e9a49f1c5f88ea0b5@AMSPR07MB470.eurprd07.prod.outlook.com> (raw)
In-Reply-To: <201406040856.49010.jbe@pengutronix.de>

Hi Juergen,

Thanks for your help.

Sophie


-----Message d'origine-----
De : Juergen Borleis [mailto:jbe@pengutronix.de]
Envoyé : mercredi 4 juin 2014 08:57
À : ptxdist@pengutronix.de
Cc : CARAYOL Sophie
Objet : Re: [ptxdist] ptxdist commands

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 main 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 target
                  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 to re-compile this changes again, just drop the package's "compile" stage. In the case of the kernel:

  ptxdist targetinstall kernel
  do {
      <running the kernel, it does not work, change some code in the kernel
       source tree>
      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ürgen

--
Pengutronix e.K.                              | Juergen Borleis             | Linux Solutions for Science and Industry      | http://www.pengutronix.de/  |
________________________________

[http://www.lacroix-electronics-solutions.com/sites/default/files/pictures/achievements/201401_MEDTECHPHARMA_LE_exhibit.png]

[http://www.lacroix-electronics.com/sites/default/files/pictures/Dossier_photos/Actualites_FR_UK_DE/Electronica.png]

Electronica in Munich (Germany), November 11-14, 2014
Join us at our stand A2 459
________________________________
 Pour des raisons légales et de sécurité, les informations contenues dans ce message ne sont pas juridiquement contraignantes. Sur demande, nous vous adresserons une confirmation écrite nous engageant. Les informations contenues dans ce message électronique ont un caractère strictement confidentiel et sont exclusivement destinées à la personne à laquelle il est adressé. Toute divulgation, utilisation, diffusion ou reproduction de tout ou partie de ce message, ou des informations qu'il contient, est interdite. Ce message est destiné exclusivement à la personne à laquelle il est adressé ou son représentant. Si vous recevez ce message par erreur, merci d'en avertir immédiatement l'expéditeur et de détruire ce message.
For legal and security reasons the information provided in this e-mail is not legally binding. Upon request we would be pleased to provide you with a legally binding confirmation in written form. The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer..
Aus gesetzlichen und Sicherheitsgründen sind die in dieser Nachricht enthaltenen Informationen rechtlich unverbindlich. Auf Anfrage senden wir Ihnen eine verbindliche, schriftliche Bestätigung. Die in dieser E-Mail enthaltenen Informationen sind streng vertraulich und ausschließlich für den Empfänger bestimmt. Jede vollständige oder teilweise Veröffentlichung, Verwendung, Verbreitung oder Vervielfältigung dieser Nachricht oder der darin enthaltenen Informationen ist untersagt. Diese Nachricht ist ausschließlich für die Person bestimmt, an die sie adressiert ist, oder für ihren Vertreter. Sollten Sie diese Nachricht versehentlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie die Nachricht..
Disclaimer Lacroix Electronics
-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2014-06-04  7:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-03 15:29 Sophie CARAYOL
2014-06-04  6:56 ` Juergen Borleis
2014-06-04  7:48   ` CARAYOL Sophie [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5b07ffd1876d431e9a49f1c5f88ea0b5@AMSPR07MB470.eurprd07.prod.outlook.com \
    --to=s.carayol@lacroix-electronics.com \
    --cc=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox