annotate leo-obj/bootloader/Makefile @ 250:431efc676a9c

pirelli/fw-disasm: started analysing the Switch_ON() code
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 24 Dec 2017 17:18:06 +0000
parents 4526143a77ce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
199
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
1 OBJS= boot.obj bootloader.obj branch_in_RAM.obj cmdboot.obj command.obj \
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
2 convert.obj optboot.obj serial.obj start.obj
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
3 TARGETS=$(patsubst %.obj,%.disasm,${OBJS})
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
4 TOOL= ../tool/tiobjd
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
5
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
6 all: ${TARGETS}
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
7
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
8 %.disasm: %.obj %.hints
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
9 ${TOOL} $*.obj disasm -h $*.hints > $@
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
10
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
11 %.disasm: %.obj
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
12 ${TOOL} $*.obj disasm > $@
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
13
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
14 ${TARGETS}: ${TOOL} Makefile
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
15
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
16 clean:
4526143a77ce leo-obj: let's take a look at bootloader.lib
Space Falcon <falcon@ivan.Harhan.ORG>
parents:
diff changeset
17 rm -f *.disasm