Derobert's Guide to the On-Screen Display: Upgrades and the Second Compile
From The Neuros Technology Wiki
NOTE: THIS PAGE IS OBSOLETE. IT MAY HAVE HISTORICAL SIGNIFICANCE, BUT IS OUT OF DATE OR NO LONGER PERTINENT.More specifically these methods don't make sense anymore.
The official build script neuros-bsp/build-helper.sh now does automatic cleanup before rebuilding everything, if you use the 'all' option. ((TODO: we need to add a 'clean' option that does just the cleaning, for now look inside the script and see how it does that)). It seems to work without a problem for rebuilding.
Finally, if something doesn't work with cleaning and/or rebuilding after the first time, please submit a patch in mailing list or a bug report in bugzilla and they will be added to the official scripts.
Please don't follow the instructions below anymore. They will probably be removed soon.
One way to clean your source is to run this script:
http://www.fsckthis.net/projects/osd/clean.sh
you will need to do "chmod +x" on it. --Xorlev
I found that the 'for i in ...' line had wrapped and needed tweaking, also I recommend including the rm -rf neuros-bsp/rootfs/default as below --Nick 14:06, 20 November 2006 (CST)
[edit] Cleaning Manually
The following has been known to work:
cd neuros-bsp source neuros-env make clean rm -rf rootfs/default rm fs cd .. rm fakeroot-save
make mrproper in step 3 cleans more things. Also, the final step (removing fakeroot-save) is very important. Without it the build will fail (fakeroot seems to get confused and won't create devices properly). You can also step into the various "build" subdirectories and do "make clean" there.
- actually, what you need to do to not confuse fakeroot is to do the clean from inside fakeroot... I really need to write this section.... Derobert 22:20, 16 October 2006 (CDT)
Yes, my script while cleaning, misses a lot and some of the Makefiles' cleaning commands called by my scripts actually remove Ingenient kernel modules. I've found the following to be effective:
svn status | grep M | svn revert `awk '{print $2}'`
svn status | grep ? | awk '{print $2}' | xargs rm -f
This cleaned my source tree rather pure source tree according to svn status, the rest can be cleaned by hand (svn status). Perhaps this all can be written into an automated script later. Xorlev 00:01, 17 October 2006 (CDT)
Xorlev: i found that to delete all the build scripts etc for some reason - could just be my tree. Daurnimator
I reversed the order of the commands so it reverts any differences first before deleting...maybe that'd work. Either way you could probably do svn up and get what you're missing, or svn switch Xorlev 14:49, 17 October 2006 (CDT)

