Changeset 011677f in rtems


Ignore:
Timestamp:
Feb 18, 1999, 5:54:03 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a110b68
Parents:
1fdc990
Message:

Part of automake VI Patch from Ralf Corsepius <corsepiu@…>.

Adds variables to the custom/*cfg files to specify the location of
tools. The purpose is to remove hard-coded paths from the Makefiles.

In later steps this eases moving the tools to other locations.

Files:
15 edited

Legend:

Unmodified
Added
Removed
  • c/src/make/host.cfg.in

    r1fdc990 r011677f  
    3030SED=@SED@
    3131M4=@M4@
     32
     33# Global tools
     34PACKHEX=$(PROJECT_TOOLS)/packhex
    3235
    3336INSTALL=$(PROJECT_TOOLS)/install-if-change
  • make/custom/dmv152.cfg

    r1fdc990 r011677f  
    6666        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    6767        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    68             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     68            $(PACKHEX) > $(basename $@).exe
    6969        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    7070        $(SIZE) $(basename $@).nxe
     
    7676        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    7777        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    78             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     78            $(PACKHEX) > $(basename $@).exe
    7979        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    8080        $(SIZE) $(basename $@).nxe
  • make/custom/dmv177.cfg

    r1fdc990 r011677f  
    111111        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    112112        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    113             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     113            $(PACKHEX) > $(basename $@).exe
    114114        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    115115        $(SIZE) $(basename $@).nxe
  • make/custom/efi332.cfg

    r1fdc990 r011677f  
    5757        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    5858        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    59             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     59            $(PACKHEX) > $(basename $@).exe
    6060        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    6161        $(SIZE) $(basename $@).nxe
     
    6767        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    6868        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    69             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     69            $(PACKHEX) > $(basename $@).exe
    7070        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    7171        $(SIZE) $(basename $@).nxe
  • make/custom/efi68k.cfg

    r1fdc990 r011677f  
    5757        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    5858        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    59             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     59            $(PACKHEX) > $(basename $@).exe
    6060        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    6161        $(SIZE) $(basename $@).nxe
     
    6767        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    6868        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    69             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     69            $(PACKHEX) > $(basename $@).exe
    7070        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    7171        $(SIZE) $(basename $@).nxe
  • make/custom/force386.cfg

    r1fdc990 r011677f  
    5858        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    5959        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    60             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     60            $(PACKHEX) > $(basename $@).exe
    6161        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    6262        $(SIZE) $(basename $@).nxe
     
    6868        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    6969        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    70             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     70            $(PACKHEX) > $(basename $@).exe
    7171        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    7272        $(SIZE) $(basename $@).nxe
  • make/custom/i386ex.cfg

    r1fdc990 r011677f  
    5959        $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
    6060        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    61                   $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     61                  $(PACKHEX) > $(basename $@).exe
    6262        $(NM) -g -n $(basename $@).coff > $(basename $@).num
    6363        $(SIZE) $(basename $@).coff
     
    6969        $(OBJCOPY) -O srec $(basename $@).coff $(basename $@).i
    7070        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    71                   $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     71                  $(PACKHEX) > $(basename $@).exe
    7272        $(NM) -g -n $(basename $@).coff > $(basename $@).num
    7373        $(SIZE) $(basename $@).coff
  • make/custom/idp.cfg

    r1fdc990 r011677f  
    5959        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    6060        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    61             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     61            $(PACKHEX) > $(basename $@).exe
    6262        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    6363        $(SIZE) $(basename $@).nxe
     
    6969        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    7070        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    71             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     71            $(PACKHEX) > $(basename $@).exe
    7272        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    7373        $(SIZE) $(basename $@).nxe
  • make/custom/mvme136.cfg

    r1fdc990 r011677f  
    5555        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    5656        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    57             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     57            $(PACKHEX) > $(basename $@).exe
    5858        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    5959        $(SIZE) $(basename $@).nxe
     
    6565        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    6666        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    67             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     67            $(PACKHEX) > $(basename $@).exe
    6868        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    6969        $(SIZE) $(basename $@).nxe
  • make/custom/mvme147.cfg

    r1fdc990 r011677f  
    5252        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    5353        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    54             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     54            $(PACKHEX) > $(basename $@).exe
    5555        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    5656        $(SIZE) $(basename $@).nxe
     
    6262        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    6363        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    64             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     64            $(PACKHEX) > $(basename $@).exe
    6565        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    6666        $(SIZE) $(basename $@).nxe
  • make/custom/mvme162.cfg

    r1fdc990 r011677f  
    9292        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    9393        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    94             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     94            $(PACKHEX) > $(basename $@).exe
    9595        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    9696        $(SIZE) $(basename $@).nxe
     
    102102        $(OBJCOPY) -O srec $(basename $@).nxe $(basename $@).i
    103103        $(SED) -e 's/.$$//' -e '/^S0/d' $(basename $@).i | \
    104             $(PROJECT_TOOLS)/packhex > $(basename $@).exe
     104            $(PACKHEX) > $(basename $@).exe
    105105        $(NM) -g -n $(basename $@).nxe > $(basename $@).num
    106106        $(SIZE) $(basename $@).nxe
    107107endef
    108108endif
     109
    109110# Miscellaneous additions go here
     111
     112# BSP-specific tools
     113SLOAD=$(PROJECT_TOOLS)/sload
  • make/custom/pc386.cfg

    r1fdc990 r011677f  
    7777            --strip-unneeded $(basename $@).obj $@
    7878        $(OBJCOPY) -O binary $(basename $@).obj $(basename $@).bin
    79         $(PROJECT_TOOLS)/bin2boot -v $(basename $@).bt $(HEADERADDR)\
     79        $(BIN2BOOT) -v $(basename $@).bt $(HEADERADDR)\
    8080          $(START16FILE) $(START16ADDR) 0 $(basename $@).bin $(RELOCADDR) 0
    8181        $(NM) -g -n $(basename $@).obj > $(basename $@).num
     
    106106
    107107# Miscellaneous additions go here
     108
     109# BSP-specific tools
     110BIN2BOOT=$(PROJECT_TOOLS)/bin2boot
  • make/custom/posix.cfg

    r1fdc990 r011677f  
    3636endif
    3737
     38# BSP-specific tools
     39GENSIZE=$(PROJECT_RELEASE)/bin/gensize
  • make/custom/simhppa.cfg

    r1fdc990 r011677f  
    133133        $(LDARGS) $(LD) $(LDFLAGS_INCOMPLETE) $(XLDFLAGS) -o $@ $(OBJS)
    134134endef
     135
     136# Miscellaneous additions go here
     137
     138# BSP-specific tools
     139PRINTDUMP=$(PROJECT_TOOLS)/print_dump
     140
     141# CPU-specific tools
     142GENOFFSETS=$(PROJECT_RELEASE)/bin/genoffsets
  • make/host.cfg.in

    r1fdc990 r011677f  
    3030SED=@SED@
    3131M4=@M4@
     32
     33# Global tools
     34PACKHEX=$(PROJECT_TOOLS)/packhex
    3235
    3336INSTALL=$(PROJECT_TOOLS)/install-if-change
Note: See TracChangeset for help on using the changeset viewer.