#!/bin/sh # Anonymously check out busybox from svn and build it (out of tree) # four different ways. Stops on first error. # # Run this in an empty directory to find warnings and build breaks. rm -rf woot woot2 [ ! -d busybox ] && svn co svn://busybox.net/trunk/busybox # Test building out of tree, method 1 mkdir woot && cd busybox && make O=../woot defconfig && cd ../woot && make && make help && make distclean && make allnoconfig && make && make distclean && make allbareconfig && make && cd .. && # Test building out of tree, method 2. mkdir woot2 && cd woot2 && make -f `pwd`/../busybox/Makefile top_srcdir=`pwd`/../busybox defconfig && make && echo happy >2