Changeset 8b09de0 in ada-examples for hello_world_ada/Makefile.pc386


Ignore:
Timestamp:
Jul 17, 2007, 6:29:37 PM (14 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
ada-examples-4-10-branch, ada-examples-4-8-branch, ada-examples-4-9-branch, master
Children:
4ad07d0
Parents:
63e8156
Message:

2007-07-17 Joel Sherrill <joel.sherrill@…>

  • hello_world_ada/Makefile.pc386, hello_world_ada/init.c: Update to gcc 4.2.0 and rtems 4.8.
  • hello_world_ada/Makefile.anybsp: New file.
  • hello_world_ada/Makefile.erc32, hello_world_ada/Makefile.jmr3904, hello_world_ada/Makefile.psim: Removed.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • hello_world_ada/Makefile.pc386

    r63e8156 r8b09de0  
    55MAIN=hello
    66
    7 # Tool paths
    8 target=i386-rtems
    9 tooldir=/opt/rtems/
    10 rtemsdir=${tooldir}/$(target)/pc386
    117
    12 # Tool names
    13 GCC=${tooldir}/bin/${target}-gcc
    14 GNATMAKE=${tooldir}/bin/${target}-gnatmake
    15 SIZE=${tooldir}/bin/${target}-size
    16 OBJCOPY=${tooldir}/bin/${target}-objcopy
    17 NM=${tooldir}/bin/${target}-nm
     8include $(RTEMS_MAKEFILE_PATH)/Makefile.inc
    189
     10include $(RTEMS_CUSTOM)
     11include $(PROJECT_ROOT)/make/leaf.cfg
     12
     13# Constants for relocating
    1914HEADERADDR=0x00097E00
    2015START16FILE=$(rtemsdir)/lib/start16.bin
     
    2217RELOCADDR=0x00100000
    2318
    24 CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems \
     19# Tool helpers
     20rtemsdir=${RTEMS_MAKEFILE_PATH}
     21GNATMAKE=$(AS:as=gnatmake)
     22CARGS=-B${rtemsdir}/lib/ -specs bsp_specs -qrtems $(CPU_CFLAGS) \
    2523   -Wl,-Ttext,$(RELOCADDR)
    2624
     
    4644          $(START16FILE) $(START16ADDR) 0 $(MAIN).bin $(RELOCADDR) 0
    4745
    48 
    4946init.o: init.c
    50         $(GCC) -O4 -g  -Wall -ansi -fasm $(CARGS) \
    51             -DGNAT_MAIN_STACKSPACE=16 -c init.c
     47        $(CC) $(CFLAGS) -c init.c
    5248
    5349clean:
Note: See TracChangeset for help on using the changeset viewer.