[Buildroot] working with u-boot

Martin Hicks mort at bork.org
Mon Apr 4 14:02:44 UTC 2011


On Sun, Apr 3, 2011 at 12:34 PM, Charles Krinke
<charles.krinke at gmail.com> wrote:
> I am editing and recompiling u-boot a bit from within buildroot and
> currently am doing this to get a "clean"
>
> $buildroot   cd output/build/u-boot
> $u-boot   rm -rf .o
> $u-boot   cd ../../../
> $buildroot rm output/build/u-boot/.configured
> $ make
>
> And this gets me a fresh compile of u-boot.
>
> Is there a better way to do this?

I do:

rm -f output/build/u-boot*/u-boot*

Which deletes all the binaries.  If you investigate the dependencies
in boot/u-boot/u-boot.mk you'll see that it depends on those.

mh

-- 
Martin Hicks P.Eng.      |         mort at bork.org
Bork Consulting Inc.     |   +1 (613) 266-2296



More information about the buildroot mailing list