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