Subversion Repositories HelenOS-historic

Rev

Rev 156 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
162 decky 1
PPC_BINUTILS_DIR=/usr/local/ppc/bin
2
PPC_TARGET=ppc-linux-gnu
3
 
1 jermar 4
.PHONY: nothing build
5
 
6
nothing:
7
 
8
build: boot.bin
9
	cp boot.bin ../../../src/load.bin
10
 
162 decky 11
AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as
12
LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld
1 jermar 13
 
162 decky 14
ASFLAGS=
15
LFLAGS=--oformat=binary -e start
1 jermar 16
 
17
boot.bin: boot.o
18
	$(LD) $(LFLAGS) boot.o -o $@
19
 
20
boot.o:
21
	$(AS) boot.s -o $@
22
 
23
clean:
24
	-rm *.o *.bin