mirror of
git://projects.qi-hardware.com/iris.git
synced 2024-12-29 21:12:25 +02:00
allow u-boot usbboot to be used as well
This commit is contained in:
parent
6022307d82
commit
90186ce7ce
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user