source: rtems/c/src/lib/libbsp/m68k/idp/make/custom/idp.cfg @ 9b4422a2

4.115
Last change on this file since 9b4422a2 was 9b4422a2, checked in by Joel Sherrill <joel.sherrill@…>, on 05/03/12 at 15:09:24

Remove All CVS Id Strings Possible Using a Script

Script does what is expected and tries to do it as
smartly as possible.

+ remove occurrences of two blank comment lines

next to each other after Id string line removed.

+ remove entire comment blocks which only exited to

contain CVS Ids

+ If the processing left a blank line at the top of

a file, it was removed.

  • Property mode set to 100644
File size: 579 bytes
Line 
1#
2#  Config file for the IDP BSP
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=m68k
8RTEMS_CPU_MODEL=m68ec040
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12#
13CPU_CFLAGS = -msoft-float
14
15# optimize flag: typically -O2
16CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
17
18define bsp-post-link
19        $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec
20        sed -e 's/.$$//' -e '/^S0/d' $(basename $@).srec | \
21            $(PACKHEX) > $(basename $@)$(DOWNEXT)
22        rm -f  $(basename $@).srec
23        $(default-bsp-post-link)
24endef
Note: See TracBrowser for help on using the repository browser.