Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC PATCH 0/2] Add the ability to rebuild packages.
@ 2011-07-18  9:15 Quotient Remainder
  2011-07-18  9:15 ` [Buildroot] [PATCH 1/2] Allow rebuilding of generic targets Quotient Remainder
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: Quotient Remainder @ 2011-07-18  9:15 UTC (permalink / raw)
  To: buildroot

Sometimes it's necessary to fix something up in the source code of a package.
Usually this requires deleting the stamp file and runinng "make" again.
This patch set allows this sequence to be done by just issuing either a top-level
"make rebuild" to rebuild all packages or a package-specific command, e.g.
"make busybox-rebuild".  The package-specific command will normally be followed by
a "make" (*not* "make rebuild") command to sweep up and generate the RFS.

There may be some subtle harmful effects from rebuilding packages unconditionally
but I've been using this approach for some time and noticed nothing.  The original
patch was based on v2010.08 and I've made efforts to update but may have missed some
things.  It's mainly testing the water anyway as an RFC.

This feature may be useful if Buildroot is extended to being used as a day-to-day
development environment as opposed to a build-once tool.

Quotient Remainder (2):
  Allow rebuilding of generic targets.
  Add top-level rebuild target.

 Makefile                    |   10 ++++++++++
 fs/common.mk                |    2 ++
 package/Makefile.package.in |   22 ++++++++++++++++++++++
 target/generic/Makefile.in  |    6 ++++++
 4 files changed, 40 insertions(+), 0 deletions(-)

-- 
1.7.6

^ permalink raw reply	[flat|nested] 12+ messages in thread
* [Buildroot] [PATCH 1/2] Allow rebuilding of generic targets.
@ 2011-07-19  7:11 Quotient Remainder
  0 siblings, 0 replies; 12+ messages in thread
From: Quotient Remainder @ 2011-07-19  7:11 UTC (permalink / raw)
  To: buildroot

If Thomas' patch works (and I can see no reason why it wouldn't) then I'd
prefer it because of its simpler, cleaner approach.
Is there a case where we might want to override the clean-for commands per
package?
On 19 I?il 2011 07:52, "Thomas De Schampheleire" <
patrickdepinguin+buildroot@gmail.com> wrote:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110719/3e34da9d/attachment.html>

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-07-19 16:51 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18  9:15 [Buildroot] [RFC PATCH 0/2] Add the ability to rebuild packages Quotient Remainder
2011-07-18  9:15 ` [Buildroot] [PATCH 1/2] Allow rebuilding of generic targets Quotient Remainder
2011-07-19  5:05   ` Thomas Petazzoni
2011-07-19  6:52     ` Thomas De Schampheleire
2011-07-19 16:51       ` Thomas Petazzoni
2011-07-18  9:15 ` [Buildroot] [PATCH 2/2] Add top-level rebuild target Quotient Remainder
2011-07-18  9:30 ` [Buildroot] [RFC PATCH 0/2] Add the ability to rebuild packages Thomas De Schampheleire
2011-07-18 14:02   ` Quotient Remainder
2011-07-18 14:14     ` Thomas De Schampheleire
2011-07-18 15:08       ` Quotient Remainder
2011-07-19  6:46         ` Thomas De Schampheleire
  -- strict thread matches above, loose matches on Subject: below --
2011-07-19  7:11 [Buildroot] [PATCH 1/2] Allow rebuilding of generic targets Quotient Remainder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox