/SPARTAN/trunk/arch/ppc/boot/boot.s |
---|
1,5 → 1,5 |
# |
# Copyright (C) 2001-2004 Jakub Jermar |
# Copyright (C) 2005 Martin Decky |
# All rights reserved. |
# |
# Redistribution and use in source and binary forms, with or without |
28,9 → 28,6 |
.text |
.set noreorder |
.set nomacro |
.global start |
start: |
bl real_start |
/SPARTAN/trunk/arch/ppc/boot/Makefile |
---|
1,3 → 1,6 |
PPC_BINUTILS_DIR=/usr/local/ppc/bin |
PPC_TARGET=ppc-linux-gnu |
.PHONY: nothing build |
nothing: |
5,11 → 8,11 |
build: boot.bin |
cp boot.bin ../../../src/load.bin |
AS=/usr/local/mips/bin/decstation-ultrix-as |
LD=/usr/local/mips/bin/decstation-ultrix-ld |
AS=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-as |
LD=$(PPC_BINUTILS_DIR)/$(PPC_TARGET)-ld |
ASFLAGS=-mips2 -EL |
LFLAGS=--oformat=binary -mips2 -EL -e start |
ASFLAGS= |
LFLAGS=--oformat=binary -e start |
boot.bin: boot.o |
$(LD) $(LFLAGS) boot.o -o $@ |