Makefile
21 lines
| 517 B
| text/x-makefile
|
MakefileLexer
paul@pc-solar1.lab-lpp.local
|
r27 | SREC_PREFIX = RpwLfrApp | ||
paul
|
r138 | SREC_COUNTER_TEXT = 0003 | ||
SREC_COUNTER_DATA = 0004 | ||||
SREC_FSW_REF = rev-1-0-0-7 | ||||
paul@pc-solar1.lab-lpp.local
|
r27 | SREC_SUFFIX = .srec | ||
paul
|
r138 | SREC_TEXT = $(SREC_PREFIX)_$(SREC_COUNTER_TEXT)_text_$(SREC_FSW_REF)$(SREC_SUFFIX) | ||
SREC_DATA = $(SREC_PREFIX)_$(SREC_COUNTER_DATA)_data_$(SREC_FSW_REF)$(SREC_SUFFIX) | ||||
paul@pc-solar1.lab-lpp.local
|
r27 | OBJCOPY = sparc-rtems-objcopy | ||
OBJCOPY_OPT = -g -v | ||||
all: text data | ||||
text: fsw | ||||
$(OBJCOPY) $(OBJCOPY_OPT) fsw $(SREC_TEXT) -O srec -j .text | ||||
data: fsw | ||||
$(OBJCOPY) $(OBJCOPY_OPT) fsw $(SREC_DATA) -O srec -j .data | ||||
clean: | ||||
rm *.srec | ||||