4.104.114.84.95
Last change
on this file since 29e68b75 was
29e68b75,
checked in by Joel Sherrill <joel.sherrill@…>, on 07/26/99 at 21:26:44
|
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.4 KB
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | ## NOTE: This Makefile.am is rather fragile to the value of RTEMS_BSP |
---|
6 | ## Esp. make clean and make distclean have unwanted side-effects |
---|
7 | ## if RTEMS_BSP is not properly set up. |
---|
8 | |
---|
9 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
10 | ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal |
---|
11 | |
---|
12 | RTEMS_BSP = $(RTEMS_BSP_LIST) |
---|
13 | ## The '.' in SUBDIRS ensures that local make-targets (xxx-am) will be |
---|
14 | ## triggered before $(RTEMS_BSP_LIST) subdirectories are made. |
---|
15 | SUBDIRS= \ |
---|
16 | . \ |
---|
17 | $(RTEMS_BSP) |
---|
18 | |
---|
19 | |
---|
20 | ## Use @RTEMS_BSP_LIST@ here, using $(RTEMS_BSP_LIST) would trigger |
---|
21 | ## this rule for invalid BSPs |
---|
22 | @RTEMS_BSP_LIST@: src/configure |
---|
23 | @set fnord $(MAKEFLAGS); amf=$$2; \ |
---|
24 | test -n "${RTEMS_BSP}" && for i in ${RTEMS_BSP}; do \ |
---|
25 | echo "Configuring RTEMS_BSP=$$i"; \ |
---|
26 | test -d $$i || mkdir $$i; \ |
---|
27 | ( cd $$i && \ |
---|
28 | RTEMS_BSP=$$i $(rtems_bsp_configure) \ |
---|
29 | && $(MAKE) $(AM_MAKEFLAGS) preinstall ) \ |
---|
30 | || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \ |
---|
31 | done |
---|
32 | |
---|
33 | ## Let all RTEMS' make targets depend on ${RTEMS_BSP} |
---|
34 | all-am: ${RTEMS_BSP} |
---|
35 | debug-am: ${RTEMS_BSP} |
---|
36 | profile-am: ${RTEMS_BSP} |
---|
37 | preinstall-am: ${RTEMS_BSP} |
---|
38 | depend-am: ${RTEMS_BSP} |
---|
39 | |
---|
40 | ## Pull in extra files intro the distribution |
---|
41 | EXTRA_DIST = \ |
---|
42 | ACKNOWLEDGEMENTS \ |
---|
43 | README.DOS \ |
---|
44 | REQUIRES \ |
---|
45 | PROBLEMS \ |
---|
46 | TESTED \ |
---|
47 | README \ |
---|
48 | UPDATE_HELP |
---|
49 | |
---|
50 | DIST_SUBDIRS = ${RTEMS_BSP} |
---|
51 | # ------------------------------------------------------- |
---|
52 | include $(top_srcdir)/../automake/subdirs.am |
---|
53 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.