FreeCalypso > hg > freecalypso-sw
comparison target-utils/tf-breakin/Makefile @ 357:22c6e39e1789
target-utils/tf-breakin: build embeddable form of the payload
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 15 May 2014 09:49:30 +0000 |
parents | 4e0aa166baa5 |
children |
comparison
equal
deleted
inserted
replaced
356:4e0aa166baa5 | 357:22c6e39e1789 |
---|---|
1 CC= arm-elf-gcc | 1 CC= arm-elf-gcc |
2 OBJCOPY=arm-elf-objcopy | 2 OBJCOPY=arm-elf-objcopy |
3 | 3 |
4 all: payload.bin | 4 all: payload.o payload.bin embed.c |
5 | 5 |
6 .SUFFIXES: .o .bin | 6 .SUFFIXES: .o .bin |
7 | 7 |
8 .o.bin: | 8 .o.bin: |
9 ${OBJCOPY} -O binary $< $@ | 9 ${OBJCOPY} -O binary $< $@ |
10 | 10 |
11 mkembed: mkembed.c | |
12 gcc -O2 -o $@ $@.c | |
13 | |
14 embed.c: payload.bin mkembed | |
15 ./mkembed payload.bin $@ | |
16 | |
11 clean: | 17 clean: |
12 rm -f *.o *errs *core *.bin | 18 rm -f *.o *errs *core *.bin mkembed embed.c |
13 | 19 |
14 FRC: | 20 FRC: |