1
0
mirror of git://projects.qi-hardware.com/iris.git synced 2024-12-29 21:06:27 +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) boot_threads = $(standard_boot_programs) $(unbrick_boot_programs)
ARCH_CXXFLAGS = -DNUM_THREADS=3 ARCH_CXXFLAGS = -DNUM_THREADS=3
BOOT_CPPFLAGS = -DUNBRICK BOOT_CPPFLAGS = -DUNBRICK
all: stage1.raw iris.raw unbrick all: mips/start.raw
stage1.raw: mips/nanonote/sdram-setup.raw
cp $< $@
mips/start.o: TARGET = mips/start.o: TARGET =
unbrick: mips/nanonote/unbrick.cc
g++ -Wall -Wextra -Werror `pkg-config --cflags --libs shevek` -lusb $< -o $@
else else
error Please define your boot method. error Please define your boot method.
endif endif