1 include ..
/include/generated
/variables.mak
2 include $(MISOC_DIRECTORY
)/software
/common.mak
4 OBJECTS
=isr.o sdram.o main.o boot-helper-
$(CPU
).o boot.o dataflow.o
9 $(OBJCOPY
) -O binary
$< $@
11 $(PYTHON
) -m misoc.tools.mkmscimg
$@
13 bios.elf
: $(BIOS_DIRECTORY
)/linker.
ld $(OBJECTS
)
16 $(LD
) $(LDFLAGS
) -T
$< -N
-o
$@ \
17 ..
/libbase
/crt0-
$(CPU
).o \
22 -lnet
-lbase-nofloat
-lcompiler_rt
25 main.o
: $(BIOS_DIRECTORY
)/main.c
28 %.o
: $(BIOS_DIRECTORY
)/%.c
31 %.o
: $(BIOS_DIRECTORY
)/%.S
35 $(RM
) $(OBJECTS
) bios.elf bios.bin .
*~
*~
37 .PHONY
: all clean main.o