1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2024-12-28 12:49:54 +02:00

allow u-boot usbboot to be used as well

This commit is contained in:
Bas Wijnen 2010-10-12 18:55:02 +02:00
parent 6022307d82
commit 90186ce7ce

View File

@ -59,12 +59,8 @@ ifneq ($(UNBRICK),)
boot_threads = $(standard_boot_programs) $(unbrick_boot_programs)
ARCH_CXXFLAGS = -DNUM_THREADS=3
BOOT_CPPFLAGS = -DUNBRICK
all: stage1.raw iris.raw unbrick
stage1.raw: mips/nanonote/sdram-setup.raw
cp $< $@
all: mips/start.raw
mips/start.o: TARGET =
unbrick: mips/nanonote/unbrick.cc
g++ -Wall -Wextra -Werror `pkg-config --cflags --libs shevek` -lusb $< -o $@
else
error Please define your boot method.
endif