Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] uClibc, gcc get rebuilt on every make
@ 2008-12-09 17:23 Patrick McNeil
  2009-07-02 20:38 ` Zac Wheeler
  0 siblings, 1 reply; 7+ messages in thread
From: Patrick McNeil @ 2008-12-09 17:23 UTC (permalink / raw)
  To: buildroot

I'm using svn24232, arm920t, with gcc and headers on the target. Every  
time I run make, even if I haven't made any changes, the cross  
compiler toolchain, as well as the target gcc, and uClibc gets  
rebuilt, taking about half an hour. Any ideas what this is depending  
on? I know that buildroot from a few months ago did not do this.

Also, what is the proper way to rebuild root if I have changed  
something - ie changed files in target_skeleton, updates something in  
a package directory, etc.? Right now I run this script and it seems to  
work ok. If I don't delete /root and .root, the system doesn't seem to  
realize that things have changed.


#!/bin/bash

[ -e project_build_arm/phidget_sbc/.root ] && {
	echo "Removing Root..."
	rm -rf project_build_arm/phidget_sbc/root/
	rm project_build_arm/phidget_sbc/.root
}
[ -e build_arm/webif-0.2/.built ] && {
	echo "Removing webif..."
	rm build_arm/webif-0.2/.built
}
for stamp in $( find build_arm/ | grep .stamp_staging_installed ); do
	echo "Removing $stamp..."
	rm $stamp
done
for stamp in $( find project_build_arm/phidget_sbc/autotools-stamps - 
type f ); do
	echo "Removing $stamp..."
	rm $stamp
done

--
Patrick McNeil
Lead Developer | Phidgets Inc.
patrick at phidgets.com | www.phidgets.com
--
There are two ways to write error-free programs; only the third works.
-Alan J. Perlis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://busybox.net/lists/buildroot/attachments/20081209/2686a70e/attachment.htm 

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Buildroot] uClibc, gcc get rebuilt on every make
@ 2009-07-05 13:12 bogus
  2009-07-05 18:56 ` Zac Wheeler
  0 siblings, 1 reply; 7+ messages in thread
From: bogus @ 2009-07-05 13:12 UTC (permalink / raw)
  To: buildroot

It would be great if you could submit a little patch...

For now, I keep using the first (not clean) option, no time to dive into
the second one right now.


Regards,



Simon


>Le jeu, 02 Jul 2009 ? 04:37:04PM -0700, Zac Wheeler ?crivit:

>Cool, I didn't know about order-only prerequisites. Or are the
>additional CC
>and FLAGS options important for fixing this issue as well?

No, they are just a matter of correctness and a different issue.

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

end of thread, other threads:[~2009-07-05 18:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-09 17:23 [Buildroot] uClibc, gcc get rebuilt on every make Patrick McNeil
2009-07-02 20:38 ` Zac Wheeler
2009-07-02 21:07   ` Bernhard Reutner-Fischer
2009-07-02 23:37     ` Zac Wheeler
2009-07-03  7:11       ` Bernhard Reutner-Fischer
  -- strict thread matches above, loose matches on Subject: below --
2009-07-05 13:12 bogus
2009-07-05 18:56 ` Zac Wheeler

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