#===================================================================================
LINUXDIR        :=./linux-2.6.19
PLATFORMDIR     :=./source/mipsel

all: linux app bin

linux:
	make -C $(LINUXDIR) bzImage
	make -C $(LINUXDIR) modules

app:
	make -C source
	make -C source install
	make -C source image
bin:
	./build_image.sh

loader:
	./build.sh
	cp -af ecos/ecos-2.0/build/install/bin/redboot.bin images	

clean:
	make -C $(LINUXDIR) clean
	make -C source clean
	
#=====================================================================================
