| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On POSIX compliant shells, echo does not have the -e option.
This causes the "-e" to be echoed as well, causing potential buggy
build processes.
Example shell session:
-> % sh
$ echo -e "foo bar"
-e foo bar
$
According to POSIX, "\$" should be fine regardless due to the use of
double-quotes[1]. However, since printf is recommended over echo anyway,
we replace "echo -e" with printf where required.
[1] http://pubs.opengroup.org/onlinepubs/009695399/utilities/xcu_chap02.html#tag_02_02_03
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A speciality of the RTEMS build system was the make preinstall step. It
copied header files from arbitrary locations into the build tree. The
header files were included via the -Bsome/build/tree/path GCC command
line option.
This has at least seven problems:
* The make preinstall step itself needs time and disk space.
* Errors in header files show up in the build tree copy. This makes it
hard for editors to open the right file to fix the error.
* There is no clear relationship between source and build tree header
files. This makes an audit of the build process difficult.
* The visibility of all header files in the build tree makes it
difficult to enforce API barriers. For example it is discouraged to
use BSP-specifics in the cpukit.
* An introduction of a new build system is difficult.
* Include paths specified by the -B option are system headers. This
may suppress warnings.
* The parallel build had sporadic failures on some hosts.
This patch removes the make preinstall step. All installed header
files are moved to dedicated include directories in the source tree.
Let @RTEMS_CPU@ be the target architecture, e.g. arm, powerpc, sparc,
etc. Let @RTEMS_BSP_FAMILIY@ be a BSP family base directory, e.g.
erc32, imx, qoriq, etc.
The new cpukit include directories are:
* cpukit/include
* cpukit/score/cpu/@RTEMS_CPU@/include
* cpukit/libnetworking
The new BSP include directories are:
* bsps/include
* bsps/@RTEMS_CPU@/include
* bsps/@RTEMS_CPU@/@RTEMS_BSP_FAMILIY@/include
There are build tree include directories for generated files.
The include directory order favours the most general header file, e.g.
it is not possible to override general header files via the include path
order.
The "bootstrap -p" option was removed. The new "bootstrap -H" option
should be used to regenerate the "headers.am" files.
Update #3254.
|
| |
|
|
|
|
| |
Updates #3520.
|
|
|
|
| |
Closes #2965.
|
|
|
|
| |
closes #2812.
|
|
|
|
|
| |
Sorting removed the variations across different host operating systems
and file systems.
|
| |
|
| |
|
|
|
|
|
|
| |
These modifications were required by hand after running the script.
In some cases, the file names did not match patterns. In others,
the format of the file did not match any common patterns.
|
|
|
|
|
|
| |
* depcomp, compile, texinfo.tex, mdate-sh: New.
* bootstrap (-c): Don't remove depcomp, compile, texinfo.tex,
mdate-sh.
|
|
|
|
|
| |
* bootstrap: Add -g option.
Switch default to autoreconf.
|
|
|
|
| |
* bootstrap: Use find . ... preinstall.am for portability reasons.
|
| |
|
|
|
|
| |
* bootstrap: Add -p (regenerate preinstall.ams).
|
|
|
|
|
| |
PR 882/make_build
* bootstrap: Only remove bspopts.h.in instead of bspopts.h*.
|
|
|
|
| |
* bootstrap: RTEMS_CHECK_BSPDIR(RTEMS_BSP_FAMILY).
|
|
|
|
|
| |
* .cvsignore: Remove mkinstalldirs.
* bootstrap: Remove compile during "clean".
|
|
|
|
|
| |
* bootstrap: Use $RTEMS_BSP_FAMILY instead of RTEMS_BSP_ALIAS in
c/src/lib/libbsp/*/acinclude.m4.
|
|
|
|
|
|
| |
* config.sub: Remove (Automatically added by automake, again).
* bootstrap: Reflect change above.
* configure.ac: Require automake >= 1.7.6.
|
|
|
|
| |
* bootstrap: Reflect having added config.sub.
|
| |
|
|
|
|
|
| |
* bootstrap: Remove attempts to detect autoconf and automake using
"which" (PR 325).
|
|
|
|
|
| |
* bootstrap: Require autoconf 2.54 or 2.57.
Require automake-1.7.2.
|
|
|
|
| |
* bootstrap: Allow autoconf-2.57.
|
|
|
|
| |
* bootstrap: Allow autoconf-2.56.
|
|
|
|
| |
* bootstrap: Allow autoconf > 2.52, automake > 1.6.
|
|
|
|
|
|
|
| |
* bootstrap: Add generate_bspdir_acinclude to automatically update
c/src/lib/libbsp/<cpu>/acinclude.m4.
Use #! /bin/sh instead of #!/bin/sh.
Remove autom4te*.cache during ./bootstrap --clean.
|
|
|
|
|
| |
* bootstrap: Add autoconf/automake version checks by popular demand.
[FWIW: I dislike this.]
|
|
|
|
|
|
|
|
| |
* aclocal/version.m4: New file.
* aclocal/rtems-top.m4: Add RTEMS_VERSIONING, replace VERSION w/
aclocal/version.m4.
* bootstrap: Use aclocal/version.m4 instead of VERSION.
* configure.ac: Use aclocal/version.m4 instead of VERSION.
|
|
|
|
|
|
| |
* aclocal/sysv-ipc.m4: Use 3-args AC_DEFINE for autoconf-2.5x
compatibility.
* bootstrap: Let --clean remove texinfo.tex.
|
|
|
|
|
| |
* bootstrap: Run autoheader when configure.ac contains
RTEMS_BSP_CONFIGURE. Remove bspopts.h* files.
|
|
|
|
|
| |
* bootstrap: remove/add automake added files.
* .cvsignore: reflect changes to bootstrap.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.in: autoupdate to autoconf-2.52.
* bootstrap: Add handling for configure.ac, make autoheader verbose,
fix auto*tool invocation order.
* aclocal/rtems-test-no-pause.m4: Introduce AC_HELP_STRING.
* aclocal/enable-bare.m4: Introduce AC_HELP_STRING.
* aclocal/enable-cxx.m4: Introduce AC_HELP_STRING.
* aclocal/enable-gcc28: Introduce AC_HELP_STRING.
* aclocal/enable-inlines.m4: Introduce AC_HELP_STRING.
* aclocal/enable-itron.m4: Introduce AC_HELP_STRING.
* aclocal/enable-libcdir.m4: Introduce AC_HELP_STRING.
* aclocal/enable-multiprocessing.m4: Introduce AC_HELP_STRING.
* aclocal/enable-networking.m4: Introduce AC_HELP_STRING.
* aclocal/enable-posix.m4: Introduce AC_HELP_STRING.
* aclocal/enable-rdbg.m4: Introduce AC_HELP_STRING.
* aclocal/enable-rtemsbsp.m4: Introduce AC_HELP_STRING.
* aclocal/enable-tests.m4: Introduce AC_HELP_STRING.
* aclocal/env-rtemsbsp.m4: Add AC_ARC_VAR(RTEMS_BSP), apply true in
RTEMS_CONFIG_PER_BSP conditional.
* aclocal/multilib.m4: Introduce AC_HELP_STRING.
* aclocal/rtems-debug.m4: Introduce AC_HELP_STRING.
* aclocal/rtems-top.m4: Add AC_PREFIX_DEFAULT(/opt/rtems).
|
|
|
|
|
|
|
|
|
|
| |
<corsepiu@faw.uni-ulm.de> to evaluate ACLOCAL_AMFLAGS in
Makefile.ams before running aclocal.
Remark: This patch is in preparation to switching to Cygnus/GNU
canonicalization. I plan to introduce to an alternate aclocal macros
directory which shall contain Cygnus/GNU conforming macros only,
soon.
|
| |
|
|
<corsepiu@faw.uni-ulm.de> 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
|