source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/make/custom/qemuprep-altivec.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: 933 bytes
Line 
1#
2#  Config file for the PowerPC 604 based mvme2307
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=powerpc
8RTEMS_CPU_MODEL=mpc7400
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12#
13CPU_CFLAGS = -mcpu=7400 -mmultiple -mstring -mstrict-align -D__ppc_generic
14
15# optimize flag: typically -O2
16CFLAGS_OPTIMIZE_V = -O2 -g
17
18ifdef PURE_BINARY
19define bsp-post-link
20        $(default-bsp-post-link)
21        $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe $(basename $@)$(DOWNEXT)
22endef
23else
24define bsp-post-link
25        $(default-bsp-post-link)
26        $(OBJCOPY) -O binary -R .comment -S $(basename $@).exe rtems
27        gzip -vf9 rtems
28        $(LD) -o $(basename $@)$(DOWNEXT)  $(PROJECT_RELEASE)/lib/bootloader.o \
29            --just-symbols=$(basename $@).exe \
30            -b binary rtems.gz -T $(PROJECT_RELEASE)/lib/ppcboot.lds \
31            -Map $(basename $@).map && chmod 755 $@
32        rm -f rtems.gz
33endef
34endif
Note: See TracBrowser for help on using the repository browser.