Changeset bd0cc4e in ada-examples


Ignore:
Timestamp:
Oct 18, 2001, 8:48:10 PM (19 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
rtems-4-5-branch
Parents:
162291d
Message:

2001-10-18 Charles Phillips <charles@…>

  • Makefile.score603e: Updated and tested.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • hello_world_ada/Makefile.score603e

    r162291d rbd0cc4e  
    66
    77# Tool paths
    8 tooldir=/avenger/afcc_ada/tools/powerpc-rtems-gnat-3.10p/
    9 rtemsdir=${tooldir}/rtems/score603e
     8tooldir=/opt/gnatrtems
     9rtemsdir=${tooldir}/powerpc-rtems/score603e
    1010
    1111# Tool names
     
    1313GNATMAKE=${tooldir}/bin/powerpc-rtems-gnatmake
    1414SIZE=${tooldir}/bin/powerpc-rtems-size
     15OBJCOPY=${tooldir}/bin/powerpc-rtems-objcopy
     16PACKHEX=${tooldir}/bin/packhex
    1517
    1618CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems -mcpu=603
     
    1820all: init.o
    1921        $(GNATMAKE) -v -O -gnata -gnatE -gnato $(MAIN) -g \
    20             -bargs -r \
     22            -bargs -Mgnat_main \
    2123            -cargs $(CARGS) \
    2224            -largs $(CARGS) init.o
    2325        $(SIZE) $(MAIN)
     26        $(OBJCOPY) -O srec $(MAIN) $(MAIN).s1
     27        sed -e 's/.$$//' $(MAIN).s1 | $(PACKHEX) > $(MAIN).exe
     28        rm -f $(MAIN).s1
    2429
    2530
     
    3540
    3641clean:
    37         rm -f b_$(MAIN).c b_$(MAIN).o *.o *.ali $(MAIN)
     42        rm -f b~* *.o *.ali $(MAIN) $(MAIN).exe $(MAIN).s1 $(MAIN).num
Note: See TracChangeset for help on using the changeset viewer.