source: rtems/make/main.cfg @ 29e68b75

4.104.114.84.9
Last change on this file since 29e68b75 was 29e68b75, checked in by Joel Sherrill <joel.sherrill@…>, on Jul 26, 1999 at 9:26:44 PM

Patch from Ralf Corsepius <corsepiu@…>:

This patch is an addition to "The big-patch"

CHANGES:

  • FIX: c/Makefile.am: bogus comment which changed the behavior of c/Makefile.am removed
  • FIX: make/custom/ts_i386ex.cfg did not set HAS_NETWORKING correctly (Me thinks it might have been me who added this bogus setting :-).
  • NEW: removing make targets get, protos, debug_install, profile_install
  • NEW: replacing clobber with distclean
  • NEW: Reimplement distclean and clean as reverse depth first make targets (adaptation to automake's behavior)
  • NEW: removing RCS_CLEAN from make distclean (tools/build/rcs_clean is still in - remove it?)
  • NEW: "$(RM) Makefile" added to make distclean (adaptation to automake's behavior)
  • NEW: "$(RM) config.cache config.log" to CLOBBER_ADDITIONS in [lib|exec|tests]/Makefile.in (adaptation to automake's behavior)
  • NEW: "$(CLEAN_PROTOS)" removed (Not used anywhere)
  • NEW: binpatch.c moved from i386 bsp tools to tools/build (AFAIS, binpatch is not specific to the pc386 BSP at all)
  • NEW: AC_EXEEXT added to all configure scripts which contain AC_PROG_CC (Cygwin support)
  • NEW/Experimental: An experimental implementation of temporary installation tree support in libbsp/i386/pc386/tools/Makefile.am, based on dependency tracking with make, instead of applying INSTALL_CHANGE.

REMARK:

  • This patch is small in size, but changes the behavior of "make clean|distclean|clobber" basically.
  • This patch does not alter building/compiling RTEMS, ie. there should be no need to rerun all "make all" building tests.

KNOWN BUGS:

  • make RTEMS_BSP="..." distclean in c/ runs "make distclean" in BSPs subdirectories passed through RTEMS_BSP and in "c/." only, but does not descend into other BSP subdirectories previously configured with different settings of make RTEMS_BSP="...". => Workaround: always use the same setting of RTEMS_BSP when working inside the build-tree.
  • "make [distclean|clean]" do not clean subdirectories, which have been configured at configuration time, but which are not used due to make-time configuration (e.g. macros/networking/rdgb subdirectories). This will problem will vanish by itself when migrating from make-time to configuration-time configuration

APPLYING THE PATCH

mv c/src/lib/libbsp/i386/pc386/tools/binpatch.c tools/build
patch -p1 < rtems-rc-19990709-2.diff
autogen

  • Property mode set to 100644
File size: 1.6 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# and rule to expand them into (for example): sun4 sun4-debug sun4-profile
46# Note compiler config may add to TARGET_VARIANTS
47#
48
49TARGET_VARIANTS = debug profile
50
51#
52# Generate list of object directories: sun4, sun4-debug, sun4-profile
53#
54VARIANTS=${TARGET_ARCH} ${TARGET_VARIANTS:%=${TARGET_ARCH}-%}
55
56#
57# List of "recursion-able" targets for directory Makefiles
58#
59
60RECURSE_TARGETS=all depend install \
61preinstall-recursive \
62$(TARGET_VARIANTS)
63
64${ARCH}:
65        test -d ${ARCH} || mkdir ${ARCH}
66
67# general purpose forcing dependency; try to use .PHONY instead
68FORCEIT:
69
70FORCE:
71
72distclean-generic:
73        -$(RM) Makefile .#* $(CONFIG_CLEAN_FILES)
74        -$(RM) -r $(CLOBBER_ADDITIONS)
75
76clean-generic:
77        -$(RM) a.out core mon.out gmon.out
78        -$(RM) -r $(CLEAN_ADDITIONS)
79
80.PHONY: $(RECURSE_TARGETS)
81.PHONY: clean-generic
82.PHONY: distclean-generic
Note: See TracBrowser for help on using the repository browser.