Changeset d6c83529 in rtems for make/leaf.cfg


Ignore:
Timestamp:
Nov 16, 1999, 3:48:11 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
bd462d1
Parents:
fa3346f
Message:

Patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@…> which does the following:

This is the configuration cleanup patch:

Main changes:

  • TARGET_ARCH removed
  • target.cfg.in moved to c/make/target.cfg.in (Only configured once for all BSPs of a target)
  • BARE_XXX variables appended to bsp.cfg.in
  • autogen renamed to bootstrap
  • removed stray variables from make/custom/*.cfg

To apply:

cd <source-tree>
rm c/src/make/target.cfg.in
cp autogen bootstrap
mkdir c/make
cp make/target.cfg.in c/make/target.cfg.in
rm make/target.cfg.in
rm autogen
patch -p1 < rtems-rc-19991105-1.diff

File:
1 edited

Legend:

Unmodified
Added
Removed
  • make/leaf.cfg

    rfa3346f rd6c83529  
    3838# Programs built on the host use automake generated rules.
    3939# This will not change $(ARCH) -- binaries will still be place as per target
    40 include ${CONFIG.$(TARGET_ARCH).CC}
     40include ${CONFIG.CC}
    4141ifeq (${DEPEND},$(wildcard ${DEPEND}))
    4242include ${DEPEND}                    # pull in dependencies if they exist
     
    4747#
    4848debug:
    49         $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=${TARGET_ARCH}-debug" \
     49        $(MAKE) -f $(MAKEFILE) MAKEFILE=$(MAKEFILE) "ARCH=o-debug" \
    5050      "CFLAGS_DEBUG=$(CFLAGS_DEBUG_V)" \
    5151      "CFLAGS_OPTIMIZE=$(CFLAGS_DEBUG_OPTIMIZE_V)" \
     
    5454profile:
    5555        $(MAKE) -f $(MAKEFILE) \
    56       MAKEFILE=$(MAKEFILE) "ARCH=${TARGET_ARCH}-profile" \
     56      MAKEFILE=$(MAKEFILE) "ARCH=o-profile" \
    5757      "CFLAGS_PROFILE=$(CFLAGS_PROFILE_V)" \
    5858      "LDFLAGS_PROFILE=$(LDFLAGS_PROFILE_V)" $(TARGET_VA)
     
    6464#
    6565
    66 VARIANT-$(TARGET_ARCH)-v =
    67 VARIANT-$(TARGET_ARCH)-debug-v = debug
    68 VARIANT-$(TARGET_ARCH)-profile-v = profile
     66VARIANT-o-optimize-v =
     67VARIANT-o-debug-v = debug
     68VARIANT-o-profile-v = profile
    6969
    7070VARIANT_VA = $(VARIANT-$(ARCH)-v)
     
    8787#
    8888
    89 LIBSUFFIX_$(TARGET_ARCH)_V=
    90 LIBSUFFIX_$(TARGET_ARCH)-debug_V=_g
    91 LIBSUFFIX_$(TARGET_ARCH)-profile_V=_p
     89LIBSUFFIX_o-optimize_V=
     90LIBSUFFIX_o-debug_V=_g
     91LIBSUFFIX_o-profile_V=_p
    9292
    9393LIB_VARIANT=$(LIBSUFFIX_$(ARCH)_V)
Note: See TracChangeset for help on using the changeset viewer.