Merge tag 'v6.2.0-rc4'
[qemu/ar7.git] / pc-bios / Makefile
blobe7587f0eecacbf004f45ef81422d7ca3c67bafa7
2 # NOTE: only compilable with x86 cross compile tools
4 include ../config-host.mak
6 DEFINES=
8 TARGETS=
10 all: $(TARGETS)
12 %.o: %.S
13 $(CC) $(DEFINES) -c -o $@ $<
15 %.dtb: %.dts
16 dtc -I dts -O dtb -o $@ $<
18 clean:
19 rm -f $(TARGETS) *.o *~
21 mips_bios.bin: mips_bios.o
22 mipsel-linux-uclibc-ld --oformat binary -Ttext 0 -o $@ $<
23 chmod a-x $@
25 mips_bios.o: mips_bios.c
26 mipsel-linux-uclibc-gcc -c -O2 -Wall -o $@ $<