[uClinux-dev] Quicker Builds
davidm at snapgear.com
Thu Aug 11 00:02:59 EDT 2005
Jivin Gavin Lambert lays it down ...
> > make romfs - regenerate the romfs directory
> Though it doesn't clean it out (in fact, regular "make" doesn't do this
> either). So I normally do a "rm -rf romfs" before I do "make romfs".
> Otherwise I can get out-of-date stuff (especially when I've just been
> fiddling with the config or vendor Makefile).
Ok, for me, make clean does:
rm -rf romfs/*
rm -rf image/*
among other things.
> Another thing I noticed (both of these are for the 20041215 build,
> incidentally) was that if I do "make menuconfig", add/remove BusyBox
> applets, and then "make", it creates the symbolic links for the new
> applets but doesn't actually rebuild BusyBox to support them.
This is (and still is I think) a known issue.
For the current dist I am trying out something like the attached patch
to fix it,
David McCullough, davidm at cyberguard.com.au, Custom Embedded Solutions + Security
Ph:+61 734352815 Fx:+61 738913630 http://www.uCdot.org http://www.cyberguard.com
-------------- next part --------------
RCS file: /cvs/sw/new-wave/user/busybox/Makefile,v
retrieving revision 1.50
diff -u -r1.50 Makefile
--- user/busybox/Makefile 18 Oct 2004 02:06:57 -0000 1.50
+++ user/busybox/Makefile 11 Aug 2005 04:02:01 -0000
@@ -244,6 +244,7 @@
rm -f .config.tmp ; \
+ $(MAKE) clean; \
mv -f .config.tmp .config.mkconfig ; \
More information about the uClinux-dev