source: rtems/make/custom/genmcf548x.cfg @ fb2205a

4.104.114.95
Last change on this file since fb2205a was fb2205a, checked in by Joel Sherrill <joel.sherrill@…>, on 09/09/08 at 16:30:27

2008-09-09 Joel Sherrill <joel.sherrill@…>

  • leaf.cfg, compilers/gcc-target-default.cfg, custom/bf537Stamp.cfg, custom/gen5200.cfg, custom/gen83xx.cfg, custom/genmcf548x.cfg, custom/mbx8xx.cfg, custom/mpc55xx.cfg, custom/nds.cfg, custom/pc386.cfg, custom/tqm8xx.cfg: Remove use of AM_LDFLAGS. Ensure LDFLAGS works all the time. Clean up BSPs which defined their own make-exe rules inappropriately.
  • Property mode set to 100644
File size: 694 bytes
Line 
1#
2#  Config file for the genmcf548x BSP
3#
4
5RTEMS_CPU=m68k
6RTEMS_CPU_MODEL=mcf548x
7
8include $(RTEMS_ROOT)/make/custom/default.cfg
9
10# This is the actual bsp directory used during the build process.
11RTEMS_BSP_FAMILY=genmcf548x
12
13#  This contains the compiler options necessary to select the CPU model
14#  and (hopefully) optimize for it.
15CPU_CFLAGS = -mcfv4e -D$(RTEMS_BOARD_MODEL) -Wa,-memac
16
17# optimize flag: typically -O2
18CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer
19
20#ifndef MTARGET
21#MTARGET=ram
22#endif
23
24LDFLAGS = -qnolinkcmds -Wl,-T$(RTEMS_LINKCMDS)
25
26define bsp-post-link
27        $(OBJCOPY) -O binary --strip-all $(basename $@).exe \
28            $(basename $@)$(DOWNEXT)
29        $(default-bsp-post-link)
30endef
Note: See TracBrowser for help on using the repository browser.