For me also helps me to cross compile Nvidia kernel drivers for other version of kernel than running one. Plus compile stripped-down version of X.
All this for running on embedded Linux with 32MB flash drive running from read-only volume powering two kiosk displays.