Changeset 55258b4 in rtems


Ignore:
Timestamp:
Mar 31, 1998, 4:52:32 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
9a355cb
Parents:
58933e6
Message:

Fixed CUSTOM_FILES rule so it properly picked up files included from
make/custom files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/Makefile.in

    r58933e6 r55258b4  
    3030# NOTE: Use the wildcard rule to install all custom files
    3131# CUSTOM_FILES := $(wildcard $(srcdir)/custom/*.cfg)
     32
    3233# NOTE: This should be sufficient, but may fail for some BSPS:
    33 #       Get all custom files for the BSP family, they may depend on eachother
    34 CUSTOM_FILES := custom/default.cfg $(patsubst %,custom/%.cfg,@RTEMS_BSP_LIST@)
     34#       Get all custom files for the BSP family, they may depend on each other
     35#CUSTOM_FILES := custom/default.cfg $(patsubst %,custom/%.cfg, posix)
     36
     37#  This version of the rule is pretty ugly but I think it works ALL the time.
     38#      + Figure out what this BSP.cfg includes
     39#      + Make those files have the correct relative path.
     40#      + Now fix $(RTEMS_HOST) to the real host name
     41CUSTOM_FILES := custom/default.cfg custom/$(RTEMS_BSP).cfg \
     42   $(shell grep "^include.*make/custom" $(srcdir)/custom/$(RTEMS_BSP).cfg | \
     43    sed -e 's/^.*make\///' | sed -e s/\\$$\(RTEMS_HOST\)/${RTEMS_HOST}/)
    3544
    3645# NOTE: Use the wildcard rule to install all compiler files
Note: See TracChangeset for help on using the changeset viewer.