Changeset 99f04d9d in rtems
- Timestamp:
- 03/28/02 13:51:54 (22 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 5098898
- Parents:
- 5aece64c
- Location:
- make
- Files:
-
- 36 edited
Legend:
- Unmodified
- Added
- Removed
-
make/ChangeLog
r5aece64c r99f04d9d 1 2002-03-26 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 3 * custom/cvme961.cfg: Remove GCC272 support. 4 * custom/dmv152.cfg: Remove GCC272 support. 5 * custom/efi332.cfg: Remove GCC272 support. 6 * custom/efi68k.cfg: Remove GCC272 support. 7 * custom/eth_comm.cfg: Remove GCC272 support. 8 * custom/gen405.cfg: Remove GCC272 support. 9 * custom/gen68302.cfg: Remove GCC272 support. 10 * custom/gen68340.cfg: Remove GCC272 support. 11 * custom/gen68360.cfg: Remove GCC272 support. 12 * custom/genmongoosev.cfg: Remove GCC272 support. 13 * custom/helas403.cfg: Remove GCC272 support. 14 * custom/i386ex.cfg: Remove GCC272 support. 15 * custom/i960sim.cfg: Remove GCC272 support. 16 * custom/idp.cfg: Remove GCC272 support. 17 * custom/leon2.cfg: Remove GCC272 support. 18 * custom/mbx8xx.cfg: Remove GCC272 support. 19 * custom/mcf5206elite.cfg: Remove GCC272 support. 20 * custom/mpc8260ads.cfg: Remove GCC272 support. 21 * custom/mrm332.cfg: Remove GCC272 support. 22 * custom/mvme136.cfg: Remove GCC272 support. 23 * custom/mvme147.cfg: Remove GCC272 support. 24 * custom/mvme167.cfg: Remove GCC272 support. 25 * custom/ods68302.cfg: Remove GCC272 support. 26 * custom/p4000.cfg: Remove GCC272 support. 27 * custom/p4600.cfg: Remove GCC272 support. 28 * custom/p4650.cfg: Remove GCC272 support. 29 * custom/pc386.cfg: Remove GCC272 support. 30 * custom/portsw.cfg: Remove GCC272 support. 31 * custom/psim.cfg: Remove GCC272 support. 32 * custom/rxgen960.cfg: Remove GCC272 support. 33 * custom/score603e.cfg: Remove GCC272 support. 34 * custom/sim68000.cfg: Remove GCC272 support. 35 * custom/simhppa.cfg: Remove GCC272 support. 36 * custom/simsh4.cfg: Remove GCC272 support. 37 * custom/ts_386ex.cfg: Remove GCC272 support. 38 1 39 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 2 40 -
make/custom/cvme961.cfg
r5aece64c r99f04d9d 30 30 # will be able to override parts of the compilers specs and link using gcc. 31 31 32 ifeq ($(RTEMS_USE_GCC272),yes)33 34 define make-exe35 $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \36 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group37 $(NM) -g -n $(basename $@).exe > $(basename $@).num38 $(SIZE) $(basename $@).exe39 endef40 41 else42 32 define make-exe 43 33 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ … … 47 37 $(SIZE) $@ 48 38 endef 49 endif50 39 51 40 # Miscellaneous additions go here -
make/custom/dmv152.cfg
r5aece64c r99f04d9d 32 32 # will be able to override parts of the compilers specs and link using gcc. 33 33 34 ifeq ($(RTEMS_USE_GCC272),yes)35 define make-exe36 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \37 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group38 $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i39 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \40 $(PACKHEX) > $(basename $@).exe41 $(NM) -g -n $(basename $@).nxe > $(basename $@).num42 $(SIZE) $(basename $@).nxe43 endef44 else45 34 define make-exe 46 35 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ … … 52 41 $(SIZE) $(basename $@).nxe 53 42 endef 54 endif55 43 56 44 # Miscellaneous additions go here -
make/custom/efi332.cfg
r5aece64c r99f04d9d 24 24 # will be able to override parts of the compilers specs and link using gcc. 25 25 26 ifeq ($(RTEMS_USE_GCC272),yes)27 define make-exe28 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \29 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group30 $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i31 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \32 $(PACKHEX) > $(basename $@).exe33 $(NM) -g -n $(basename $@).nxe > $(basename $@).num34 $(SIZE) $(basename $@).nxe35 endef36 else37 26 define make-exe 38 27 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ … … 44 33 $(SIZE) $(basename $@).nxe 45 34 endef 46 endif47 35 48 36 # Miscellaneous additions go here -
make/custom/efi68k.cfg
r5aece64c r99f04d9d 28 28 # will be able to override parts of the compilers specs and link using gcc. 29 29 30 ifeq ($(RTEMS_USE_GCC272),yes)31 define make-exe32 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \33 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group34 $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i35 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \36 $(PACKHEX) > $(basename $@).exe37 $(NM) -g -n $(basename $@).nxe > $(basename $@).num38 $(SIZE) $(basename $@).nxe39 endef40 else41 30 define make-exe 42 31 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ … … 48 37 $(SIZE) $(basename $@).nxe 49 38 endef 50 endif51 39 52 40 # Miscellaneous additions go here -
make/custom/eth_comm.cfg
r5aece64c r99f04d9d 51 51 # will be able to override parts of the compilers specs and link using gcc. 52 52 53 ifeq ($(RTEMS_USE_GCC272),yes)54 # The --defsym arguments define arguments which are required by the linkcmds55 # file which is designed for gcc 2.856 define make-exe57 $(LD) $(XLDFLAGS) -T $(LINKCMDS) \58 --defsym __fini=0 --defsym __init=0 \59 -o $@ -u atexit -u __vectors -u download_entry \60 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group61 $(NM) -g -n $@ > $(basename $@).num62 $(SIZE) $@63 endef64 else65 53 define make-exe 66 54 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ … … 69 57 $(SIZE) $@ 70 58 endef 71 endif72 59 73 60 # Miscellaneous additions go here -
make/custom/gen405.cfg
r5aece64c r99f04d9d 38 38 # will be able to override parts of the compilers specs and link using gcc. 39 39 40 ifeq ($(RTEMS_USE_GCC272),yes)41 # The --defsym arguments define arguments which are required by the linkcmds42 # file which is designed for gcc 2.843 define make-exe44 $(LD) $(XLDFLAGS) -T $(LINKCMDS) \45 --defsym __fini=0 --defsym __init=0 \46 -o $@ -u atexit -u __vectors -u download_entry \47 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group48 $(NM) -g -n $@ > $(basename $@).num49 $(SIZE) $@50 endef51 else52 # $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec53 40 define make-exe 54 41 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS) … … 57 44 $(SIZE) $@ 58 45 endef 59 endif60 46 61 47 # $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec -
make/custom/gen68302.cfg
r5aece64c r99f04d9d 29 29 # will be able to override parts of the compilers specs and link using gcc. 30 30 31 ifeq ($(RTEMS_USE_GCC272),yes)32 33 # override default location of Standard C Library34 # LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/libc.a35 # LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/libm.a36 37 define make-exe38 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \39 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group40 $(NM) -g -n $(basename $@).exe > $(basename $@).num41 $(SIZE) $(basename $@).exe42 endef43 else44 31 define make-exe 45 32 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ … … 48 35 $(SIZE) $@ 49 36 endef 50 endif51 37 # Miscellaneous additions go here -
make/custom/gen68340.cfg
r5aece64c r99f04d9d 24 24 # will be able to override parts of the compilers specs and link using gcc. 25 25 26 ifeq ($(RTEMS_USE_GCC272),yes)27 28 # override default location of Standard C Library29 # LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libc.a30 # LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libm.a31 32 define make-exe33 @ echo34 @ echo "WARNING: newlib may use bit test instructions!!"35 @ echo36 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \37 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group38 $(NM) -g -n $(basename $@).exe > $(basename $@).num39 $(SIZE) $(basename $@).exe40 endef41 else42 43 26 define make-exe 44 27 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ … … 61 44 # m68k-rtems-objcopy --output-target=ieee --debugging \ 62 45 # $(basename $@).exe $(basename $@).ieee 63 endif64 46 65 47 # Miscellaneous additions go here -
make/custom/gen68360.cfg
r5aece64c r99f04d9d 46 46 # will be able to override parts of the compilers specs and link using gcc. 47 47 48 ifeq ($(RTEMS_USE_GCC272),yes)49 50 # override default location of Standard C Library51 # LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libc.a52 # LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libm.a53 54 define make-exe55 @ echo56 @ echo "WARNING: newlib may use bit test instructions!!"57 @ echo58 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \59 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group60 $(NM) -g -n $(basename $@).exe > $(basename $@).num61 $(SIZE) $(basename $@).exe62 endef63 else64 65 48 define make-exe 66 49 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ … … 69 52 $(SIZE) $@ 70 53 endef 71 endif72 54 73 55 # Miscellaneous additions go here -
make/custom/genmongoosev.cfg
r5aece64c r99f04d9d 26 26 # will be able to override parts of the compilers specs and link using gcc. 27 27 28 ifeq ($(RTEMS_USE_GCC272),yes)29 30 define make-exe31 $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \32 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group33 $(NM) -g -n $(basename $@).exe > $(basename $@).num34 $(SIZE) $(basename $@).exe35 endef36 37 else38 28 define make-exe 39 29 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ … … 43 33 $(SIZE) $@ 44 34 endef 45 endif46 35 47 36 # Miscellaneous additions go here -
make/custom/helas403.cfg
r5aece64c r99f04d9d 31 31 # will be able to override parts of the compilers specs and link using gcc. 32 32 33 ifeq ($(RTEMS_USE_GCC272),yes)34 # The --defsym arguments define arguments which are required by the linkcmds35 # file which is designed for gcc 2.836 define make-exe37 $(LD) $(XLDFLAGS) -T $(LINKCMDS) \38 --defsym __fini=0 --defsym __init=0 \39 -o $@ -u atexit -u __vectors -u download_entry \40 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group41 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec42 $(NM) -g -n $@ > $(basename $@).num43 $(SIZE) $@44 endef45 else46 # $(OBJCOPY) -O srec --srec-len 120 $(basename $@).exe $(basename $@).srec47 33 define make-exe 48 34 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ … … 52 38 $(SIZE) $@ 53 39 endef 54 endif55 40 56 41 # Miscellaneous additions go here -
make/custom/i386ex.cfg
r5aece64c r99f04d9d 35 35 # will be able to override parts of the compilers specs and link using gcc. 36 36 37 ifeq ($(RTEMS_USE_GCC272),yes)38 define make-exe39 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).coff \40 -noinhibit-exec -Map $(basename $@).map \41 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group42 $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i43 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \44 $(PACKHEX) > $(basename $@).exe45 $(NM) -g -n $(basename $@).coff > $(basename $@).num46 $(SIZE) $(basename $@).coff47 endef48 else49 37 define make-exe 50 38 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).coff \ … … 56 44 $(SIZE) $(basename $@).coff 57 45 endef 58 endif59 46 60 47 # Miscellaneous additions go here -
make/custom/i960sim.cfg
r5aece64c r99f04d9d 27 27 # will be able to override parts of the compilers specs and link using gcc. 28 28 29 ifeq ($(RTEMS_USE_GCC272),yes)30 31 define make-exe32 $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \33 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group34 $(NM) -g -n $(basename $@).exe > $(basename $@).num35 $(SIZE) $(basename $@).exe36 endef37 38 else39 29 define make-exe 40 30 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ … … 44 34 $(SIZE) $@ 45 35 endef 46 endif47 36 48 37 # Miscellaneous additions go here -
make/custom/idp.cfg
r5aece64c r99f04d9d 26 26 # will be able to override parts of the compilers specs and link using gcc. 27 27 28 ifeq ($(RTEMS_USE_GCC272),yes)29 30 # override default location of Standard C Library31 # LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/msoft-float/libc.a32 # LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/msoft-float/libm.a33 34 define make-exe35 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \36 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group37 $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i38 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \39 $(PACKHEX) > $(basename $@).exe40 $(NM) -g -n $(basename $@).nxe > $(basename $@).num41 $(SIZE) $(basename $@).nxe42 endef43 else44 28 define make-exe 45 29 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ … … 51 35 $(SIZE) $(basename $@).nxe 52 36 endef 53 endif54 37 55 38 # Miscellaneous additions go here -
make/custom/leon2.cfg
r5aece64c r99f04d9d 20 20 # a negative impact on the performance of RTEMS and should not be used. 21 21 22 ifeq ($(RTEMS_USE_GCC272),yes) 23 # -mno-v8 says not to use v8 level instructions. i.e. use v7 only 24 CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT) 25 else 22 # This had been used with gcc-2.7.2 23 # CPU_CFLAGS = -mno-v8 -mcypress $(MSOFT_FLOAT) 26 24 # -mcpu=cypress says to optimize for a Cypress 60x chipset 27 25 CPU_CFLAGS = -mcpu=cypress $(MSOFT_FLOAT) 28 endif29 26 30 27 # optimize flag: typically -0, could use -O4 or -fast … … 53 50 # will be able to override parts of the compilers specs and link using gcc. 54 51 55 ifeq ($(RTEMS_USE_GCC272),yes)56 define make-exe57 $(LD) -u _sbrk $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \58 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group59 $(NM) -g -n $(basename $@).exe > $(basename $@).num60 $(SIZE) $(basename $@).exe61 endef62 else63 52 define make-exe 64 53 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ … … 67 56 $(SIZE) $(basename $@).exe 68 57 endef 69 endif70 58 # Miscellaneous additions go here 71 59 -
make/custom/mbx8xx.cfg
r5aece64c r99f04d9d 93 93 # will be able to override parts of the compilers specs and link using gcc. 94 94 95 ifeq ($(RTEMS_USE_GCC272),yes)96 # The --defsym arguments define arguments which are required by the linkcmds97 # file which is designed for gcc 2.898 define make-exe99 $(LD) $(XLDFLAGS) -T $(LINKCMDS) -o $(basename $@)_sym.exe \100 --defsym __fini=0 --defsym __init=0 \101 -u atexit -u __vectors -u start \102 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group103 $(NM) -g -n $(basename $@)_sym.exe> $(basename $@).nm104 cp $(basename $@)_sym.exe $(basename $@).exe105 $(STRIP) $(basename $@).exe106 $(SIZE) $(basename $@)_sym.exe107 endef108 else109 95 define make-exe 110 96 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(MBX8xx_LDFLAGS) \ … … 115 101 $(SIZE) $(basename $@)_sym.exe 116 102 endef 117 endif118 103 119 104 # Miscellaneous additions go here -
make/custom/mcf5206elite.cfg
r5aece64c r99f04d9d 30 30 # will be able to override parts of the compilers specs and link using gcc. 31 31 32 ifeq ($(RTEMS_USE_GCC272),yes)33 34 # override default location of Standard C Library35 LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libc.a36 LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/msoft-float/libm.a37 38 define make-exe39 @ echo40 @ echo "WARNING: newlib may use bit test instructions!!"41 @ echo42 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \43 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group44 $(NM) -g -n $(basename $@).exe > $(basename $@).num45 $(SIZE) $(basename $@).exe46 endef47 else48 49 32 define make-exe 50 33 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ … … 53 36 $(SIZE) $@ 54 37 endef 55 endif56 57 38 58 39 # Miscellaneous additions go here -
make/custom/mpc8260ads.cfg
r5aece64c r99f04d9d 49 49 # will be able to override parts of the compilers specs and link using gcc. 50 50 51 ifeq ($(RTEMS_USE_GCC272),yes)52 # The --defsym arguments define arguments which are required by the linkcmds53 # file which is designed for gcc 2.854 define make-exe55 $(LD) $(XLDFLAGS) -T $(LINKCMDS) \56 --defsym __fini=0 --defsym __init=0 \57 -o $@ -u atexit -u __vectors -u download_entry \58 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group59 $(NM) -g -n $@ > $(basename $@).num60 $(SIZE) $@61 endef62 else63 51 define make-exe 64 52 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ … … 67 55 $(SIZE) $@ 68 56 endef 69 endif70 57 71 58 # Miscellaneous additions go here -
make/custom/mrm332.cfg
r5aece64c r99f04d9d 24 24 # will be able to override parts of the compilers specs and link using gcc. 25 25 26 ifeq ($(RTEMS_USE_GCC272),yes)27 define make-exe28 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \29 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group30 $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i31 $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \32 $(PACKHEX) > $(basename $@).exe33 $(NM) -g -n $(basename $@).nxe > $(basename $@).num34 $(SIZE) $(basename $@).nxe35 endef36 else37 26 ifeq ($(MRM_IN_ROM),yes) 38 27 # Build a rommable image - move the .data section after the .text section … … 71 60 endef 72 61 endif 73 endif74 75 62 76 63 # Miscellaneous additions go here -
make/custom/mvme136.cfg
r5aece64c r99f04d9d 32 32 # will be able to override parts of the compilers specs and link using gcc. 33 33 34 ifeq ($(RTEMS_USE_GCC272),yes)35 define make-exe36 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \37 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group38 $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i39 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \40 $(PACKHEX) > $(basename $@).exe41 $(NM) -g -n $(basename $@).nxe > $(basename $@).num42 $(SIZE) $(basename $@).nxe43 endef44 else45 34 define make-exe 46 35 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ … … 52 41 $(SIZE) $(basename $@).nxe 53 42 endef 54 endif55 43 # Miscellaneous additions go here 56 44 -
make/custom/mvme147.cfg
r5aece64c r99f04d9d 24 24 # will be able to override parts of the compilers specs and link using gcc. 25 25 26 ifeq ($(RTEMS_USE_GCC272),yes)27 define make-exe28 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).nxe \29 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group30 $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i31 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \32 $(PACKHEX) > $(basename $@).exe33 $(NM) -g -n $(basename $@).nxe > $(basename $@).num34 $(SIZE) $(basename $@).nxe35 endef36 else37 26 define make-exe 38 27 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).nxe \ … … 44 33 $(SIZE) $(basename $@).nxe 45 34 endef 46 endif47 35 # Miscellaneous additions go here 48 36 -
make/custom/mvme167.cfg
r5aece64c r99f04d9d 60 60 # will be able to override parts of the compilers specs and link using gcc. 61 61 62 ifeq ($(RTEMS_USE_GCC272),yes)63 64 62 # The MC68040 does not implement all MC68881/MC68882 instructions, so use 65 63 # either the gcc floating-point software support (msoft-float libraries), or … … 72 70 # Floating-point support will then be limited. See the mvme167 README file 73 71 # for more details. 74 75 # LIBC_LIBC = $(RTEMS_LIBC_DIR)/lib/msoft-float/libc.a76 # LIBC_LIBM = $(RTEMS_LIBC_DIR)/lib/msoft-float/libm.a77 # LIBGCC = $(shell $(CC) -msoft-float -print-libgcc-file-name)78 79 define make-exe80 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@)_sym.exe \81 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group82 $(NM) -g -n $(basename $@)_sym.exe > $(basename $@).nm83 cp $(basename $@)_sym.exe $(basename $@).exe84 $(STRIP) $(basename $@).exe85 $(SIZE) $(basename $@)_sym.exe86 endef87 else88 72 define make-exe 89 73 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@)_sym.exe \ … … 94 78 $(SIZE) $(basename $@)_sym.exe 95 79 endef 96 endif97 80 98 81 # Miscellaneous additions go here -
make/custom/ods68302.cfg
r5aece64c r99f04d9d 36 36 # will be able to override parts of the compilers specs and link using gcc. 37 37 38 ifeq ($(RTEMS_USE_GCC272),yes)39 40 # override default location of Standard C Library41 # LIBC_LIBC=$(RTEMS_LIBC_DIR)/lib/m68000/libc.a42 # LIBC_LIBM=$(RTEMS_LIBC_DIR)/lib/m68000/libm.a43 44 define make-exe45 $(LD) $(LDFLAGS) -N \46 -T $(LINKCMDS) -o $(basename $@).exe \47 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group48 $(NM) -g -n $(basename $@).exe > $(basename $@).num49 $(SIZE) $(basename $@).exe50 endef51 else52 53 38 define make-exe 54 39 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ … … 58 43 $(SIZE) $@ 59 44 endef 60 endif 45 61 46 # Miscellaneous additions go here 62 47 -
make/custom/p4000.cfg
r5aece64c r99f04d9d 27 27 # will be able to override parts of the compilers specs and link using gcc. 28 28 29 ifeq ($(RTEMS_USE_GCC272),yes)30 define make-exe31 $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \32 -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_OBJS) $(LINK_LIBS) $(LD_PATHS:%=-L %)33 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec134 $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec35 $(RM) $(basename $@).srec136 $(NM) -n $(basename $@).exe > $(basename $@).num37 $(SIZE) $(basename $@).exe38 endef39 else40 29 define make-exe 41 30 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ … … 47 36 $(SIZE) $(basename $@).exe 48 37 endef 49 endif50 38 51 39 # Miscellaneous additions go here -
make/custom/p4600.cfg
r5aece64c r99f04d9d 31 31 # will be able to override parts of the compilers specs and link using gcc. 32 32 33 ifeq ($(RTEMS_USE_GCC272),yes)34 # This rule was used in 3.6.035 # $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \36 # -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_FILES) $(LD_PATHS:%=-L %)37 38 define make-exe39 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \40 $(START_FILE) $(LINK_OBJS) \41 --start-group $(LINK_LIBS) --end-group42 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec143 $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec44 $(RM) $(basename $@).srec145 $(NM) -n $(basename $@).exe > $(basename $@).num46 $(SIZE) $(basename $@).exe47 endef48 else49 33 define make-exe 50 34 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ … … 56 40 $(SIZE) $@ 57 41 endef 58 endif59 42 60 43 # Miscellaneous additions go here -
make/custom/p4650.cfg
r5aece64c r99f04d9d 30 30 # will be able to override parts of the compilers specs and link using gcc. 31 31 32 ifeq ($(RTEMS_USE_GCC272),yes)33 # This rule was used in 3.6.034 # $(CC) $(LDFLAGS) -nostdlib -o $(basename $@).exe \35 # -T$(PROJECT_RELEASE)/lib/linkcmds $(LINK_FILES) $(LD_PATHS:%=-L %)36 37 define make-exe38 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).exe \39 $(START_FILE) $(LINK_OBJS) \40 --start-group $(LINK_LIBS) --end-group $(LD_LIBS)41 $(OBJCOPY) -O srec $(basename $@).exe $(basename $@).srec142 $(PACKHEX) < $(basename $@).srec1 > $(basename $@).srec43 $(RM) $(basename $@).srec144 $(NM) -n $(basename $@).exe > $(basename $@).num45 $(SIZE) $(basename $@).exe46 endef47 else48 32 define make-exe 49 33 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).exe \ … … 55 39 $(SIZE) $(basename $@).exe 56 40 endef 57 endif58 41 59 42 # Miscellaneous additions go here -
make/custom/pc386.cfg
r5aece64c r99f04d9d 49 49 # will be able to override parts of the compilers specs and link using gcc. 50 50 51 ifeq ($(RTEMS_USE_GCC272),yes)52 define make-exe53 $(LD) -N -T $(LINKCMDS) -Ttext $(RELOCADDR) -e start -nostdlib \54 -o $(basename $@).obj \55 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group56 $(OBJCOPY) -O a.out-i386 \57 --remove-section=.rodata \58 --remove-section=.comment \59 --remove-section=.note \60 --strip-unneeded $(basename $@).obj $@61 $(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin62 $(BIN2BOOT) -v $(basename $@).bt $(HEADERADDR)\63 $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 064 $(NM) -g -n $(basename $@).obj > $(basename $@).num65 $(SIZE) $(basename $@).obj66 # test -d ${PROJECT_RELEASE}/BootImgs \67 # || mkdir ${PROJECT_RELEASE}/BootImgs68 # cp $(basename $@).bt \69 # ${PROJECT_RELEASE}/BootImgs/$(basename $@)$(LIB_VARIANT).bt70 # chmod 755 \71 # ${PROJECT_RELEASE}/BootImgs/$(basename $@)$(LIB_VARIANT).bt72 endef73 else74 51 define make-exe 75 52 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Ttext,$(RELOCADDR) \ … … 111 88 $(SIZE) $(basename $@).obj 112 89 endef 113 endif114 90 115 91 # Miscellaneous additions go here -
make/custom/portsw.cfg
r5aece64c r99f04d9d 15 15 RTEMS_BSP_FAMILY=portsw 16 16 17 ifeq ($(RTEMS_USE_GCC272),yes)18 define make-exe19 $(LD) $(LDFLAGS) -N -e _start \20 -T$(PROJECT_RELEASE)/lib/linkcmds\21 -o $(basename $@).exe \22 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group23 $(NM) -n $(basename $@).exe > $(basename $@).num24 $(SIZE) $(basename $@).exe25 endef26 else27 17 define make-exe 28 18 $(LINK.c) -Wl,-Map,$(basename $@).map \ … … 32 22 $(SIZE) $@ 33 23 endef 34 endif35 24 36 25 # Miscellaneous additions go here -
make/custom/psim.cfg
r5aece64c r99f04d9d 36 36 # $(LD_LIBS) \ 37 37 # -Wl,-\( -Wl,-lc -Wl,-lrtemsall -Wl,-lgcc -Wl,-\) 38 ifeq ($(RTEMS_USE_GCC272),yes)39 define make-exe40 $(CC) $(CFLAGS) -o $(basename $@).exe $(LINK_OBJS) $(LINK_LIBS)41 $(NM) -g -n $@ > $(basename $@).num42 $(SIZE) $@43 endef44 else45 38 # -Wl,--gc-sections 46 39 define make-exe … … 50 43 $(SIZE) $@ 51 44 endef 52 endif53 45 54 46 # Miscellaneous additions go here -
make/custom/rxgen960.cfg
r5aece64c r99f04d9d 31 31 # will be able to override parts of the compilers specs and link using gcc. 32 32 33 ifeq ($(RTEMS_USE_GCC272),yes)34 define make-exe35 @echo "rxgen960 does not support this gcc 2.7.2"36 exit 137 endef38 else39 33 define make-exe 40 34 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $@ \ … … 44 38 $(SIZE) $@ 45 39 endef 46 endif47 40 48 41 # Miscellaneous additions go here -
make/custom/score603e.cfg
r5aece64c r99f04d9d 36 36 # -o $@ -u atexit -u __vectors -u download_entry $(LINK_FILES) 37 37 38 ifeq ($(RTEMS_USE_GCC272),yes)39 define make-exe40 @echo gcc 2.7.2 style linking not supported by score603e41 @exit 142 endef43 else44 38 define make-exe 45 39 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ … … 52 46 rm -f $(basename $@).s1 53 47 endef 54 endif55 48 56 49 # Miscellaneous additions go here -
make/custom/sim68000.cfg
r5aece64c r99f04d9d 25 25 # will be able to override parts of the compilers specs and link using gcc. 26 26 27 ifeq ($(RTEMS_USE_GCC272),yes)28 define make-exe29 @echo GCC 2.7.2 and older are not supported30 endef31 else32 27 define make-exe 33 28 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \ … … 37 32 $(SIZE) $@ 38 33 endef 39 endif40 34 # Miscellaneous additions go here -
make/custom/simhppa.cfg
r5aece64c r99f04d9d 79 79 # will be able to override parts of the compilers specs and link using gcc. 80 80 81 ifeq ($(RTEMS_USE_GCC272),yes)82 define make-exe83 $(LDARGS) $(LD) $(LD_LOC_OPTIONS) $(XLDFLAGS) -a archive \84 -o $@ -u atexit \85 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group86 $(NM) -g -n $@ > $(basename $@).num87 $(SIZE) $@88 endef89 else90 81 define make-exe 91 82 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) $(GCC_LD_LOC_OPTIONS) \ … … 95 86 $(SIZE) $@ 96 87 endef 97 endif98 88 99 89 # Miscellaneous additions go here -
make/custom/simsh4.cfg
r5aece64c r99f04d9d 41 41 # will be able to override parts of the compilers specs and link using gcc. 42 42 43 ifeq ($(RTEMS_USE_GCC272),yes)44 define make-exe45 $(LD) $(LDFLAGS) -N -e _start \46 -T$(PROJECT_RELEASE)/lib/linkcmds\47 -o $(basename $@).exe \48 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group49 $(NM) -n $(basename $@).exe > $(basename $@).num50 $(SIZE) $(basename $@).exe51 endef52 else53 43 define make-exe 54 44 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -Wl,-Map,$(basename $@).map \ … … 58 48 $(SIZE) $@ 59 49 endef 60 endif61 50 62 51 # Miscellaneous additions go here -
make/custom/ts_386ex.cfg
r5aece64c r99f04d9d 38 38 # will be able to override parts of the compilers specs and link using gcc. 39 39 40 ifeq ($(RTEMS_USE_GCC272),yes)41 define make-exe42 $(LD) $(LDFLAGS) -N -T $(LINKCMDS) -o $(basename $@).coff \43 -noinhibit-exec -Map $(basename $@).map \44 $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group45 $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i46 sed -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \47 $(PACKHEX) > $(basename $@).exe48 $(NM) -g -n $(basename $@).coff > $(basename $@).num49 $(SIZE) $(basename $@).coff50 endef51 else52 40 define make-exe 53 41 $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) -o $(basename $@).elf \ … … 57 45 $(SIZE) $(basename $@).elf 58 46 endef 59 endif60 47 61 48 # Miscellaneous additions go here
Note: See TracChangeset
for help on using the changeset viewer.