##// END OF EJS Templates
fsw-1-0
fsw-1-0

File last commit:

r29:e6c840d89712 default
r80:02cab3f9e9ae VHDLib206
Show More
Makefile
20 lines | 473 B | text/x-makefile | MakefileLexer
paul@pc-solar1.lab-lpp.local
Makefile added to the repository for the srec generation
r27 SREC_PREFIX = RpwLfrApp
SREC_COUNTER = 0001
paul
TM_LFR_TC_EXE_CORRUPTED sid set to 42005
r29 SREC_FSW_REF = fsw-0-7
paul@pc-solar1.lab-lpp.local
Makefile added to the repository for the srec generation
r27 SREC_SUFFIX = .srec
SREC_TEXT = $(SREC_PREFIX)_$(SREC_COUNTER)_text_$(SREC_FSW_REF)$(SREC_SUFFIX)
SREC_DATA = $(SREC_PREFIX)_$(SREC_COUNTER)_data_$(SREC_FSW_REF)$(SREC_SUFFIX)
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