Commit Graph

22 Commits

Author SHA1 Message Date
Chris Johns
acc32a8e5c cpukit: Fixes for GCC 12 warnings
Updates #6442
2022-06-15 13:01:03 +10:00
Sebastian Huber
e39642a468 build: Merge libmd/Makefile.am 2018-10-10 07:53:32 +02:00
Sebastian Huber
68e1ccc46d build: Remove specialized CPPFLAGS 2018-10-09 13:26:47 +02:00
Chris Johns
2afb22b7e1 Remove make preinstall
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.
2018-01-25 08:45:26 +01:00
Sebastian Huber
77510c72dc libmd: Disable SHA modules for m32c
Close #2219.
2015-03-05 11:34:01 +01:00
Sebastian Huber
1bcd037810 Add SHA256 and SHA512 support 2014-11-20 10:30:21 +01:00
Sebastian Huber
4479006955 libmd: Change MD5Update() prototype
This is in line with the FreeBSD and OpenSSL prototypes.  It helps to
avoid superfluous compiler warnings.
2013-10-31 14:32:24 +01:00
Sebastian Huber
8e8b18bb5b libmd: New defines for FreeBSD compatibility 2013-10-22 11:00:04 +02:00
Joel Sherrill
9b4422a251 Remove All CVS Id Strings Possible Using a Script
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.
2012-05-11 08:44:13 -05:00
Joel Sherrill
33a105fb69 Revert: Remove CVS Ids
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html
for details.
2012-05-07 11:08:48 -05:00
Ralf Corsépius
ee32f67a6f Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Joel Sherrill
61250b4ce9 Remove all .cvsignore files. 2012-02-01 10:59:44 -06:00
Sebastian Huber
1e4d7b8835 2010-09-13 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmd/md5.h: C++ compatibility.
2010-09-13 13:57:32 +00:00
Sebastian Huber
17ecd5a06f 2010-07-16 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmd/md4.c: Removed definition of TRUE and FALSE.
2010-07-16 07:45:18 +00:00
Ralf Corsepius
3f7fc1de52 2010-06-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* libmd/md5.h: Revert Sebastian's patch.
2010-06-14 16:06:14 +00:00
Sebastian Huber
1aca38c659 2010-06-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libmd/md5.h: Define MD5_DIGEST_SIZE.
2010-06-14 12:01:36 +00:00
Ralf Corsepius
b25b88e732 Add HAVE_CONFIG_H support to let files receive configure defines. 2010-03-28 05:50:29 +00:00
Ralf Corsepius
1cb54d1f38 #include <stdint.h> instead of <rtems/stdint.h>. 2008-12-11 00:47:56 +00:00
Ralf Corsepius
3eb76324b6 Stop using old-style function-definitions. 2008-08-25 11:53:48 +00:00
Ralf Corsepius
ee0c82f413 Add missing prototypes. 2008-08-02 05:16:26 +00:00
Joel Sherrill
44a5bb783b 2007-06-12 Joel Sherrill <joel.sherrill@OARcorp.com>
* libmd/.cvsignore: New file.
2007-06-12 19:45:27 +00:00
Ralf Corsepius
e0c4c102b4 New (moved out from pppd). 2007-06-12 15:59:36 +00:00