Subversion Repositories HelenOS-historic

Rev

Rev 1 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1 Rev 130
Line 1... Line 1...
1
MIPS_BINUTILS_DIR=/usr/local/mips/bin
1
MIPS_BINUTILS_DIR=/usr/local/mipsel/bin
2
MIPS_TARGET=decstation-ultrix
2
MIPS_TARGET=mipsel-linux-gnu
3
 
3
 
4
.PHONY: nothing build
4
.PHONY: nothing build
5
 
5
 
6
nothing:
6
nothing:
7
 
7
 
Line 9... Line 9...
9
	cp boot.bin ../../../src/load.bin
9
	cp boot.bin ../../../src/load.bin
10
 
10
 
11
AS=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-as
11
AS=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-as
12
LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld
12
LD=$(MIPS_BINUTILS_DIR)/$(MIPS_TARGET)-ld
13
 
13
 
14
ASFLAGS=-mips2 -EL
14
ASFLAGS=-mips2
15
LFLAGS=--oformat=binary -mips2 -EL -e start
15
LFLAGS=--oformat=binary -mips2 -e start
16
 
16
 
17
boot.bin: boot.o
17
boot.bin: boot.o
18
	$(LD) $(LFLAGS) boot.o -o $@
18
	$(LD) $(LFLAGS) boot.o -o $@
19
 
19
 
20
boot.o:
20
boot.o: