[Buildroot] [PATCH] Makefile: improve $(TARGET_DIR) (re)creation

Daniel Nyström daniel.nystrom at timeterminal.se
Wed Feb 16 15:03:16 UTC 2011


2011/2/16 Bjørn Forsman <bjorn.forsman at gmail.com>

> On 15 February 2011 13:10, Daniel Nyström
> <daniel.nystrom at timeterminal.se> wrote:
> > 2011/2/15 Bjørn Forsman <bjorn.forsman at gmail.com>:
> >> 2011/2/13 Bjørn Forsman <bjorn.forsman at gmail.com>:
> >>> With this patch, just remove $(TARGET_DIR) and Buildroot will recreate
> >>> it.
>
[snip]

> >
> > I'm afraid I can't say anything about this particular approach (I
> > don't even have time to test it right now) but I do would love a way
> > to regenerate the target dir.
>
> It's good to know I'm not the only one wanting this :-)


Actually, there has been a few request of such feature just recently on the
Freenode IRC channel.

One great step would be to remove all "compiled" and "installed" stamps and
let every package get rebuilt (if necessary!) and reinstalled. In that case,
testing minor changes to single packages would be a quick job. Not an
half-hour job as of today.

I think there is work going on to add a step when installing packages, where
it would first be turned into a tarball and later on extracted upon the
target root fs. But I havn't heard anything about it for months.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110216/584920aa/attachment.html>


More information about the buildroot mailing list