| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Include all cpukit/*/header.am files in cpukit/Makefile.am. This gets
rid of all subtree Makefile.am and the sudirs hack.
|
| |
|
|
|
|
| |
Update #3254.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Script does what is expected and tries to do it as
smartly as possible.
+ remove occurrences of two blank comment lines
next to each other after Id string line removed.
+ remove entire comment blocks which only exited to
contain CVS Ids
+ If the processing left a blank line at the top of
a file, it was removed.
|
|
|
|
| |
* automake/compile.am: Remove -Werror=...
|
|
|
|
|
| |
* automake/compile.am: (Temporarily) Add -Werror=overflow,
-Werror=pointer-to-int-cast, -Werror=int-to-pointer-cast.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* automake/compile.am: Remove depend: (Redundant).
|
|
|
|
| |
* automake/compile.am: Remove RTEMS_CPPFLAGS.
|
|
|
|
|
|
|
|
|
|
| |
* aclocal/env-rtemscpu.m4: Remove CFLAGS_OPTIMIZE_V.
Remove CPU_CFLAGS.
* aclocal/prog-cc.m4: Don't invoke _RTEMS_FLAGS to set up
RTEMS_CFLAGS.
* automake/compile.am: AM_CFLAGS = RTEMS_CFLAGS.
Remove CPPFLAGS, CFLAGS, CPU_CFLAGS, CFLAGS_OPTIMIZE.
Cleanup comments.
|
|
|
|
|
|
| |
* aclocal/env-rtemscpu.m4: Remove CFLAGS_DEBUG_V.
* aclocal/prog-cc.m4: Remove RTEMS_USE_GCC.
* automake/compile.am: Cleanup comments. Remove ASFLAGS.
|
|
|
|
|
|
|
|
|
| |
* automake/compile.am, httpd/Makefile.am, itron/Makefile.am,
libblock/Makefile.am, libcsupport/Makefile.am, libfs/Makefile.am,
libmisc/Makefile.am, libnetworking/Makefile.am, librpc/Makefile.am,
posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am,
score/Makefile.am, wrapup/Makefile.am:
Remove build-variant support.
|
|
|
|
| |
* automake/compile.am: Remove RTEMS_CFLAGS_*_V.
|
|
|
|
|
|
|
| |
* Makefile.am: Re-add dirstamps to PREINSTALL_FILES.
Add PREINSTALL_FILES to CLEANFILES.
* automake/local.am: Remove depend-am.
* automake/subdirs.am: Remove depend-recursive.
|
|
|
|
|
|
|
| |
* Makefile.am: Remove AUTOMAKE_FILES.
* automake/compile.am: Replace contents with contents of
automake/amcompile.am.
* automake/amcompile.am, automake/lib.am: Remove.
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac, aclocal/enable-bare.m4,
aclocal/enable-inlines.m4, aclocal/enable-itron.m4,
aclocal/enable-multiprocessing.m4, aclocal/enable-networking.m4,
aclocal/enable-posix.m4, aclocal/enable-rtems-debug.m4, aclocal/multi.m4,
aclocal/multilib.m4: Use AS_HELP_STRING instead of AC_HELP_STRING
(deprecated in autoconf-2.59)
* automake/local.am: Remove clean-local, depend-gcc.
|
|
|
|
|
|
|
|
|
| |
* aclocal/enable-networking.m4: Don't AC_SUBST(RTEMS_HAS_NETWORKING).
* aclocal/check-networking.m4: Don't AC_SUBST(HAS_NETWORKING).
* automake/amcompile.am: Remove $(ARCH).
* wrapup/Makefile.am: Add $(ARCH).
Remove compile.am, lib.am.
Include amcompile.am.
|
|
|
|
|
| |
* automake/amcompile.am: New.
* configure.ac: Add subdir-objects, AM_PROG_CC_C_O.
|
|
|
|
| |
* automake/compile.am: Use $(mkdir_p) instead of $(mkinstalldirs).
|
|
|
|
|
|
|
| |
* aclocal/lead-dot.m4: Remove (Use the version in automake-1.8).
* automake/lib.am: Remove $(project_libdir)$(MULTISUBDIR).
* aclocal/env-rtemscpu.m4: Reflect new definition of project_lib.
* Makefile.am: Remove BUILT_SOURCES.
|
|
|
|
|
| |
* automake/compile.am: Add $(ARCH)/$(dirstamp) rules.
* wrapup/Makefile.am: Reflect $(dirstamp) changes.
|
|
|
|
| |
* automake/local.am: Remove "debug".
|
|
|
|
|
|
|
| |
PR 321:
* aclocal/env-rtemscpu.m4: Remove support for profile-variant.
* automake/compile.am: Ditto.
* automake/local.am: Ditto.
|
|
|
|
| |
* automake/compile.am: Remove LIBSUFFIX_VA (unused).
|
| |
|
|
|
|
|
| |
* automake/local.am: Remove distclean-local.
Remove PROJECT_TOOLS.
|
|
|
|
|
| |
* automake/compile.am: Remove CLEAN_DEPEND (Unused).
Remove CLOBBER_DEPEND (Unused).
|
|
|
|
| |
* automake/compile.am: Remove $(RTEMS_BSP_CFLAGS).
|
|
|
|
| |
* automake/compile.am: Rework *FLAGS, AM_*FLAGS handling.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* automake/multilib.am: Don't include @RTEMS_BSP@.cfg.
* automake/compile.am: Remove hard-coded CFLAGS_PROFILE_V.
Add autoconf-supplied CPU_CFLAGS, CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V,
CFLAGS_PROFILE_V.
Hard-code RTEMS_CFLAGS_PROFILE = -pg
* aclocal/prog-cc.m4: Sync with toplevel/aclocal/prog-cc.m4.
Remove GCCSED.
* aclocal/env-rtemsbsp.m4: Add AC_ARG_VAR for CPU_CFLAGS,
CFLAGS_OPTIMIZE_V, CFLAGS_DEBUG_V, CFLAGS_PROFILE_V.
|
|
|
|
| |
* automake/compile.am: Remove CFLAGS_DEBUG_OPTIMIZE_V (Unused).
|
|
|
|
|
|
| |
* aclocal/prog-cc.m4: Acknowledge configuration-time CFLAGS.
* automake/compile.am: Acknowledge configuration-time CFLAGS.
Remove CFLAGS_DEFAULT.
|
|
|
|
|
|
| |
* aclocal/canonicalize-tools.m4: Remove LD.
* automake/lib.am: Remove LD.
* Makefile.am: Put preinstall-stamp into CLEANFILES.
|
|
|
|
| |
* automake/compile.am: Use .$(OBJEXT) instead of .o.
|
|
|
|
|
| |
* automake/lib.am: Use project_libdir instead of
$(PROJECT_RELEASE)/lib.
|
|
|
|
|
|
|
|
|
|
|
| |
* aclocal/env-rtemsbsp.m4: Remove RTEMS_BSP_SPECS, PROJECT_RELEASE.
Add project_libdir, libdir. New GCC_SPECS. Various cleanups.
* aclocal/env-rtemscpu.m4: Remove RTEMS_BSP_SPECS, PROJECT_RELEASE.
Add project_libdir, libdir. New GCC_SPECS. Various cleanups.
* aclocal/rtems-top.m4: New PROJECT_ROOT handling.
* automake/compile.am: Remove RTEMS_BSP_SPECS, LD* flags, LINK,
references to bsp_specs. Use project_libdir instead of
$(PROJECT_RELEASE)/lib.
|
|
|
|
|
|
|
|
|
|
|
| |
* automake/multilib.am: Add install-multi.
* aclocal/rtems-top.m4: Reflect new RTEMS_TOPdir to detecting
version.m4.
Add --with-project-root.
Reflect --with-project-root to setting up PROJECT_ROOT.
* aclocal/env-rtemscpu.m4: Reflect new RTEMS_TOPdir (HACK).
* aclocal/check-cpu.m4: Reflect new RTEMS_TOPdir.
* aclocal/check-bsps.m4: Reflect new RTEMS_TOPdir.
|
|
|
|
|
|
|
|
|
| |
* aclocal/prog-ccas.m4: New.
* aclocal/canonicalize-tools.m4: Remove AS, OBJCOPY, NM, SIZE, STRIP.
RTEMS_GCC_PRINT
* aclocal/check-multiprocessing.m4: Fix typo.
* automake/compile.am: Remove CXX support.
Replace AS by CCAS. Remove LINK_LIBS, LINK_OBJS, LINK_FILES.
|
|
|