amiro-os / ports / rules.mk @ 61544eee
History | View | Annotate | Download (483 Bytes)
1 |
# ARM Cortex-Mx common makefile scripts and rules. |
---|---|
2 |
|
3 |
############################################################################## |
4 |
# Processing options coming from the upper Makefile. |
5 |
# |
6 |
|
7 |
# Output directory and files |
8 |
SRECFILE = $(BUILDDIR)/$(PROJECT).srec |
9 |
|
10 |
# |
11 |
# Makefile rules |
12 |
# |
13 |
|
14 |
blt: $(SRECFILE) |
15 |
|
16 |
MAKE_ALL_RULE_HOOK: blt |
17 |
|
18 |
%.srec: %.elf $(LDSCRIPT) |
19 |
ifeq ($(USE_VERBOSE_COMPILE),yes) |
20 |
$(SREC) $< $@ |
21 |
else |
22 |
@echo Creating $@ |
23 |
@$(SREC) $< $@ |
24 |
endif |
25 |
|
26 |
# *** EOF *** |