source: rtems/make/main.cfg @ 1896a650

4.104.114.84.9
Last change on this file since 1896a650 was 1896a650, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 30, 1999 at 5:52:50 PM

Patch from Ralf Corsepius <corsepiu@…>:

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

  • Property mode set to 100644
File size: 1.5 KB
Line 
1#
2#  $Id$
3#
4# make/main.cfg
5#
6#   Make(1) configuration file include'd by all Makefile's
7#
8
9#
10# where things are relative to PROJECT_ROOT; shouldn't need to change,
11# but could be overridden in custom files.
12#
13
14PROJECT_RELEASE=$(PROJECT_ROOT)/$(RTEMS_BSP)
15PROJECT_BIN=$(PROJECT_RELEASE)/bin
16PROJECT_INCLUDE=$(PROJECT_RELEASE)/lib/include
17PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
18
19#
20# Target architecture; may be changed as per 'make "ARCH=${TARGET_ARCH}-debug"'
21# This is where the object files get put.
22#
23
24ARCH=${TARGET_ARCH}
25
26VARIANT=
27
28#
29# Initial target for make(1)
30#  Once this is established we can safely include other targets
31#  within this make-include file.
32#
33
34default_target: all
35
36#
37# Default makefile name
38# May be overridden by command line macro assignment
39#
40
41MAKEFILE=Makefile
42
43#
44# Target variant names
45#
46TARGET_VARIANTS = debug profile
47
48#
49# Generate list of object directories: sun4, sun4-debug, sun4-profile
50#
51VARIANTS=${TARGET_ARCH} ${TARGET_VARIANTS:%=${TARGET_ARCH}-%}
52
53#
54# List of "recursion-able" targets for directory Makefiles
55#
56
57RECURSE_TARGETS=all depend install \
58preinstall-recursive \
59$(TARGET_VARIANTS)
60
61${ARCH}:
62        test -d ${ARCH} || mkdir ${ARCH}
63
64# general purpose forcing dependency; try to use .PHONY instead
65FORCEIT:
66
67FORCE:
68
69distclean-generic:
70        -$(RM) Makefile .#* $(CONFIG_CLEAN_FILES)
71        -$(RM) -r $(CLOBBER_ADDITIONS)
72
73clean-generic:
74        -$(RM) a.out core mon.out gmon.out
75        -$(RM) -r $(CLEAN_ADDITIONS)
76
77.PHONY: $(RECURSE_TARGETS)
78.PHONY: clean-generic
79.PHONY: distclean-generic
Note: See TracBrowser for help on using the repository browser.