Files
rtems/make/main.cfg
Joel Sherrill 1896a650fc Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>:
The main topic is replacing the hard-coded values for HAS_MP and
  HAS_RDBG in custom/*.cfg with per-bsp configuration-time autoconf checks
  (This is the patch I had mentioned before earlier this week).

  CHANGES

  * HAS_MP removed from custom/*.cfg, replaced with configuration time
    autoconf check
  * HAS_RDBG removed from custom/*.cfg, replaced with configuration-time
    autoconf check
  * NEW: c/src/make/bsp.cfg.in, takes configuration-time checked per-bsp
    values (i.e. HAS_MP, HAS_RDBG), gets installed as
    $(prefix)/<bsp>/make/bsp.cfg
  * NEW: default.cfg includes bsp.cfg - this change is backward
    compatible.
  * IMPORT_SRC: apply VPATH instead for ts_386ex/i386ex subdirectory
    Makefile.ins
  * HACK: a bug in acpolish mis-handles addtions to makefile variables
    which are enclosed in gmake conditionals:
    c/src/lib/libbsp/m68k/ods68302/start302/Makefile.in
  * Apply inline_dir, HAS_MP and HAS_RDBG for avoiding configuration of
    unneeded subdirectories in various configure.in files.
  * Several minor changes in Makefile.ins and configure.ins, wrt. to the
    order of including *.cfg and defining Makefile variables

  APPLYING THE PATCH:

      patch -p1 < rtems-rc-19990709-4.diff
      ./autogen
1999-07-30 17:52:50 +00:00

80 lines
1.5 KiB
INI

#
# $Id$
#
# make/main.cfg
#
# Make(1) configuration file include'd by all Makefile's
#
#
# where things are relative to PROJECT_ROOT; shouldn't need to change,
# but could be overridden in custom files.
#
PROJECT_RELEASE=$(PROJECT_ROOT)/$(RTEMS_BSP)
PROJECT_BIN=$(PROJECT_RELEASE)/bin
PROJECT_INCLUDE=$(PROJECT_RELEASE)/lib/include
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
#
# Target architecture; may be changed as per 'make "ARCH=${TARGET_ARCH}-debug"'
# This is where the object files get put.
#
ARCH=${TARGET_ARCH}
VARIANT=
#
# Initial target for make(1)
# Once this is established we can safely include other targets
# within this make-include file.
#
default_target: all
#
# Default makefile name
# May be overridden by command line macro assignment
#
MAKEFILE=Makefile
#
# Target variant names
#
TARGET_VARIANTS = debug profile
#
# Generate list of object directories: sun4, sun4-debug, sun4-profile
#
VARIANTS=${TARGET_ARCH} ${TARGET_VARIANTS:%=${TARGET_ARCH}-%}
#
# List of "recursion-able" targets for directory Makefiles
#
RECURSE_TARGETS=all depend install \
preinstall-recursive \
$(TARGET_VARIANTS)
${ARCH}:
test -d ${ARCH} || mkdir ${ARCH}
# general purpose forcing dependency; try to use .PHONY instead
FORCEIT:
FORCE:
distclean-generic:
-$(RM) Makefile .#* $(CONFIG_CLEAN_FILES)
-$(RM) -r $(CLOBBER_ADDITIONS)
clean-generic:
-$(RM) a.out core mon.out gmon.out
-$(RM) -r $(CLEAN_ADDITIONS)
.PHONY: $(RECURSE_TARGETS)
.PHONY: clean-generic
.PHONY: distclean-generic