hw/intc/sh_intc: Inline and drop sh_intc_source() function
[qemu/rayw.git] / pc-bios / vof / Makefile
blobaa1678c4d8897b360d3d90829d29ef31d4c80265
1 all: build-all
3 build-all: vof.bin
5 CROSS ?=
6 CC = $(CROSS)gcc
7 LD = $(CROSS)ld
8 OBJCOPY = $(CROSS)objcopy
10 %.o: %.S
11 $(CC) -m32 -mbig-endian -mcpu=power4 -c -o $@ $<
13 %.o: %.c
14 $(CC) -m32 -mbig-endian -mcpu=power4 -c -fno-stack-protector -o $@ $<
16 vof.elf: entry.o main.o ci.o bootmem.o libc.o
17 $(LD) -nostdlib -e_start -Tvof.lds -EB -o $@ $^
19 %.bin: %.elf
20 $(OBJCOPY) -O binary -j .text -j .data -j .toc -j .got2 $^ $@
22 clean:
23 rm -f *.o vof.bin vof.elf *~