Changeset dda8f5dc in rtems


Ignore:
Timestamp:
Nov 27, 2001, 11:35:55 PM (20 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5e2dce0
Parents:
3f381864
Message:

2001-11-27 Joel Sherrill <joel@…>,

This was tracked as PR39.

  • custom/ods68302.cfg: Eliminated required definition of macros in this file for the BSP to compile. The ROM and ROM address and size settings are now linker script items.
Location:
make
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • make/ChangeLog

    r3f381864 rdda8f5dc  
     12001-11-27      Joel Sherrill <joel@OARcorp.com>,
     2
     3        This was tracked as PR39.
     4        * custom/ods68302.cfg: Eliminated required definition of macros in this
     5        file for the BSP to compile.  The ROM and ROM address and size settings
     6        are now linker script items. 
    17
    282001-11-26      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
  • make/custom/ods68302.cfg

    r3f381864 rdda8f5dc  
    2424# CPU_CFLAGS = -m68302 -msoft-float
    2525CPU_CFLAGS = -m68302
    26 CPU_DEFINES = \
    27 -DVARIANT=$(BSP_VARIANT) -DMC68302_BASE=$(MC68302_BASE) \
    28 -DRAM_BASE=$(RAM_BASE) -DRAM_SIZE=$(RAM_SIZE) \
    29 -DROM_BASE=$(ROM_BASE) -DROM_SIZE=$(ROM_SIZE)
    3026
    3127# optimize flag: typically -0, could use -O4 or -fast
     
    5248
    5349define make-exe
    54         $(LD) $(LDFLAGS) -N -Ttext $(ROM_BASE) \
    55             -defsym MC68302_BASE=$(MC68302_BASE) \
     50        $(LD) $(LDFLAGS) -N \
    5651            -T $(LINKCMDS) -o $(basename $@).exe \
    5752            $(START_FILE) $(LINK_OBJS) --start-group $(LINK_LIBS) --end-group
     
    6055endef
    6156else
     57
    6258define make-exe
    6359        $(LINK.c) $(AM_CFLAGS) $(AM_LDFLAGS) \
    64             -Wl,-defsym -Wl,MC68302_BASE=$(MC68302_BASE) \
    65             -o $@ \
    66             $(LINK_OBJS) $(LINK_LIBS)
    67         $(NM) -g -n $@ > $(basename $@).num
    68         $(SIZE) $@
    69 endef
    70 define make-cxx-exe
    71         $(LINK.cc) $(AM_CFLAGS) $(AM_CXXFLAGS) $(AM_LDFLAGS) \
    72             -Wl,-defsym -Wl,MC68302_BASE=$(MC68302_BASE) \
    7360            -o $@ \
    7461            $(LINK_OBJS) $(LINK_LIBS)
     
    7966# Miscellaneous additions go here
    8067
    81 ifeq "$(strip $(BSP_VARIANT))" ""
    82 BSP_VARIANT=bare
    83 MC68302_BASE=0x00700000
    84 RAM_BASE=0x00000000
    85 RAM_SIZE=0x00100000
    86 
    8768ifeq ($(RTEMS_DEBUGGER),yes)
    88 ROM_BASE=0x00010000
    8969LINKCMDS=$(PROJECT_RELEASE)/lib/debugrom
    9070else
    91 ROM_BASE=0x00C00000
    9271LINKCMDS=$(PROJECT_RELEASE)/lib/rom
    9372endif
    9473
    95 ROM_SIZE=0x00100000
    96 
    97 else
    98 
    99 # pattern match the variant to set the memory map
    100 
    101 endif
Note: See TracChangeset for help on using the changeset viewer.