FreeCalypso > hg > freecalypso-tools
comparison target-utils/flash-boot-test/Makefile @ 477:58d3a0634272
target-utils/*/Makefile: better construct for crt0.S symlink
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Wed, 13 Feb 2019 06:21:42 +0000 |
| parents | cc6594a7fc7a |
| children | cd900b885eb2 |
comparison
equal
deleted
inserted
replaced
| 476:0615d54c2d2e | 477:58d3a0634272 |
|---|---|
| 10 LIBGCC= `${CC} -print-file-name=libgcc.a` | 10 LIBGCC= `${CC} -print-file-name=libgcc.a` |
| 11 LDS= ld.script | 11 LDS= ld.script |
| 12 | 12 |
| 13 all: fbt-mode0.bin fbt-mode1.bin | 13 all: fbt-mode0.bin fbt-mode1.bin |
| 14 | 14 |
| 15 crt0.S: ../env/crt0.S | 15 crt0.S: |
| 16 ln -s $< . | 16 ln -s ../env/crt0.S . |
| 17 | 17 |
| 18 fbt-mode0.elf: ${OBJS} magic0.o ${LIBS} ${LDS} | 18 fbt-mode0.elf: ${OBJS} magic0.o ${LIBS} ${LDS} |
| 19 ${LD} -N -T ${LDS} -o $@ ${OBJS} magic0.o ${LIBS} ${LIBGCC} | 19 ${LD} -N -T ${LDS} -o $@ ${OBJS} magic0.o ${LIBS} ${LIBGCC} |
| 20 | 20 |
| 21 fbt-mode0.bin: fbt-mode0.elf | 21 fbt-mode0.bin: fbt-mode0.elf |
