FreeCalypso > hg > freecalypso-sw
diff target-utils/compalstage/Makefile @ 314:48c08499cede
compalstage binaries built
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Wed, 02 Apr 2014 08:02:14 +0000 |
parents | |
children | 3164604a6c70 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/target-utils/compalstage/Makefile Wed Apr 02 08:02:14 2014 +0000 @@ -0,0 +1,23 @@ +CC= arm-elf-gcc +OBJCOPY=arm-elf-objcopy + +all: compalstage-plain.bin compalstage-thumb.bin compalstage-1003.bin + +.SUFFIXES: .o .bin + +.o.bin: + ${OBJCOPY} -O binary $< $@ + +compalstage-1003.o: compalstage.S + ${CC} -DPAD_TO_1003 -c -o $@ $< + +compalstage-plain.o: compalstage.S + ${CC} -c -o $@ $< + +compalstage-thumb.o: compalstage.S + ${CC} -DTHUMB_ENTRY -c -o $@ $< + +clean: + rm -f *.o *errs *core *.bin + +FRC: