Commit Graph

303 Commits

Author SHA1 Message Date
Sebastian Huber
37c36def7a Change version to RTEMS 6
Update #4020.
2020-06-30 09:19:08 +02:00
Jacob Shin
d0a7f03a52 5 spelling errors for a Google Code-In task.
Username: deuteriumoxide Email: jacobshin313@gmail.com
2018-12-02 22:07:18 -06:00
kaidoho
b8e8d0dea9 Fix wrong command hint in case of error 2018-12-02 16:50:31 -06:00
Zenon
99d6172f06 Correct minor spelling and grammar errors
This work was performed as a GCI 2018 task.
2018-11-06 18:51:32 -06:00
Sebastian Huber
853c5ef890 build: Enable RISC-V SMP build
Update #3433.
2018-06-28 15:02:12 +02:00
Sebastian Huber
e8b28ba004 tools: Remove packhex
All tools should be removed from the RTEMS source repository at some
point in time.  Tools with a BSD-style license will be moved to the
RTEMS tools repository.  Unfortunately, this tool has no license
information.

Remove all uses of this tool from the code base.  Users of HEX files
should consider to use ELF instead.

Close #3379.
2018-06-15 07:14:36 +02:00
Sebastian Huber
ea092ccc79 tools: Remove rtems-bin2c
This tool is now included in the RTEMS tools repository.

Close #3380.
2018-06-14 07:33:46 +02:00
Sebastian Huber
0fe48afa16 build: Really fix RTEMS_ENABLE_RTEMSBSP()
The d542af2e43 commit was a bad one.

The riscv32 and riscv64 targets share a riscv source directory.  The
potential future powerpcspe and powerpc targets need this change as
well.

For example ${target_arch} is "riscv32" and ${cfg_arch} is "riscv".
2018-05-28 07:08:25 +02:00
Sebastian Huber
a03178ba65 build: Fix typo in RTEMS_ENABLE_RTEMSBSP() 2018-05-28 06:59:52 +02:00
Sebastian Huber
d542af2e43 build: Fix RTEMS_ENABLE_RTEMSBSP()
The riscv32 and riscv64 targets share a riscv source directory.  The
potential future powerpcspe and powerpc targets need this change as
well.
2018-05-14 14:13:01 +02:00
Sebastian Huber
adb85dd473 bsps: Move make/custom/* files to bsps
Adjust various build files.  Remove automatic generation of the
c/src/lib/libbsp/*/acinclude.m4 files from bootstrap script.

This patch is a part of the BSP source reorganization.

Update #3285.
2018-04-23 15:18:42 +02:00
Chris Johns
7ff743d549 Generate an error if a BSP in the --enable-rtemsbsp list is not valid
Also generate an error if the architecure does not match the --target
architecture given to configure's command line.

Close #2641.
2018-04-11 11:52:29 +10:00
Chris Johns
e1664027fe Require the user to provide a BSP list when build SMP or MP.
Close 3383.
2018-04-10 08:22:07 +10:00
Chris Johns
9f6f0261c1 Generate an error if no valid gcc is found when configure runs.
Close #3385.
2018-04-10 08:22:07 +10: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
Joel Sherrill
7d905dffad aclocal/check-bsps.m4: Do not rely on bsp_specs to find BSP families
Updates #3520.
2017-11-27 09:50:05 -06:00
Sebastian Huber
cb406870aa Change RTEMS_API from 5.0 to 5
This fixes the legacy Makefile based build system which expects
RTEMS_API to be identical to the tool chain version.

Update #3220.
2017-11-13 08:39:54 +01:00
Sebastian Huber
4a14751879 Upgrade to 5.0.0
Tool name will be "rtems5", e.g. arm-rtems5-gcc.

Next release will 5.1.0.  Branch version after release will be 5.1.1.
Next master will be 6.0.0.
2017-11-09 08:12:11 +01:00
Hesham Almatary
11ff3a9e72 cpukit: RISC-V - make riscv32 code work for riscv64 - v2
* Use #ifdefs for 32/64 bit code
* Use unsigned long which is 32-bit on riscv32 and 64-bit on riscv64 (register size)
* Move the code to a new shared riscv folder to be shared between riscv32 and riscv64
* Rename RTEMS_CPU extracted from command line to shared riscv target s/riscv*/riscv

Update #3109
2017-11-01 10:10:27 +11:00
Chris Johns
9a4eca5843 build-system: Always enable C++ if the compiler is present.
We always build a C++ compiler and building with C++ does not effect
RTEMS or the runtime. This patch always enabled the support. There is
no need to manually enable it any more.

You can disable C++ with '--disable-cxx'.

If an architecture does not have a C++ compiler support is automatically
disabled.
2016-08-11 17:20:10 +10:00
Sebastian Huber
808230add9 Upgrade to 4.11.99.0 2015-09-11 08:24:18 +02:00
Daniel Hellstrom
e7fade3ac4 DRVMGR: added driver manager to cpukit/libdrvmgr 2015-04-17 01:10:16 +02:00
Sebastian Huber
d9196d1da7 configure: Paravirtualization for all targets
Virtual machines with paravirtualization exist not only on x86.
2014-05-08 08:40:35 +02:00
Philipp Eppelt
a9051de9e0 add --enable-paravirt to the configure options 2013-11-27 15:54:04 -05:00
Sebastian Huber
aec0e1958e configure: Documentation 2013-06-12 16:11:24 +02:00
Sebastian Huber
f2f211c543 smp: Add ARM support 2013-05-31 15:20:32 +02:00
Sebastian Huber
ffbeb6f6a3 smp: Add PowerPC support 2013-05-31 15:20:32 +02:00
Ralf Corsépius
6963854ddc Remove references to configure.in. 2012-05-18 07:47:52 +02:00
Ralf Corsépius
bbb69abb98 Remove stray dnl. 2012-05-18 07:24:47 +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
27272db336 Remove CVS-Ids. 2012-05-04 09:36:25 +02:00
Joel Sherrill
b6afcb6083 2011-05-24 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1810/misc
	* ChangeLog: Fix previous damage.
2011-06-28 20:43:53 +00:00
Joel Sherrill
054b1c6fe9 2011-03-16 Jennifer Averett <jennifer.averett@OARcorp.com>
PR 1729/cpukit
	* aclocal/enable-smp.m4: New file.
2011-03-16 20:06:55 +00:00
Ralf Corsepius
44dd5dc438 2011-03-06 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/rtems-top.m4: Add pkgdatadir.
	Override pkgdatadir to $(datadir)/rtems$_RTEMS_API.
	* Makefile.am: Install make/Templates to pkgdatadir.
2011-03-06 11:03:33 +00:00
Ralf Corsepius
b42cae739f 2011-03-04 Ralf Corsépius <ralf.corsepius@rtems.org>
* Makefile.maint, aclocal/rpm.m4, aclocal/rtems-top.m4,
	aclocal/version.m4: Rename RTEMS_API into _RTEMS_API.
2011-03-04 16:22:17 +00:00
Joel Sherrill
f79bc77d8e 2010-07-27 Joel Sherrill <joel.sherrill@oarcorp.com>
PR 1532/testing
	* aclocal/project-root.m4: Add initial tests for untar capabilities.
2010-07-27 18:17:46 +00:00
Ralf Corsepius
dea33e831c 2010-06-17 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/enable-itron.m4: Remove.
	* configure.ac: Remove itron.
2010-06-17 15:38:54 +00:00
Ralf Corsepius
ba021d5c42 2010-06-07 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/version.m4: Bump RTEMS_API to 4.11.
	Bump _RTEMS_VERSION to 4.10.99.0.
2010-06-07 19:33:53 +00:00
Ralf Corsepius
ea2b19d9a5 2010-05-11 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-alias.m4: Change quoting to work-round
	http://www.freebsd.org/cgi/query-pr.cgi?pr=146378.
2010-05-11 15:05:19 +00:00
Ralf Corsepius
d387391a7e 2009-10-23 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-custom-bsp.m4: Be less verbose.
2009-10-23 13:09:30 +00:00
Ralf Corsepius
2627c966dc 2009-10-21 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-alias.m4: Fix quoting bug.
2009-10-21 09:26:05 +00:00
Ralf Corsepius
565fdd2d41 Remove "blacklist". 2009-10-17 15:53:54 +00:00
Ralf Corsepius
eba5dc6b44 Remove "${srcdir}/${RTEMS_TOPdir}/make/custom/$1". 2009-10-17 15:53:40 +00:00
Ralf Corsepius
b68265df9b 2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-alias.m4: Remove bare BSP (Abandoned).
2009-10-16 14:24:43 +00:00
Ralf Corsepius
c14858f098 Cosmetics. 2009-10-16 01:41:54 +00:00
Ralf Corsepius
9ffd6b80b9 2009-10-16 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/bsp-alias.m4: Pickup bsps from
	c/src/lib/libbsp/<cpu>/<bsp_family>/make/custom*.cfg.
2009-10-16 01:34:46 +00:00
Ralf Corsepius
6504558153 2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-bsps.m4: Pickup bsps from
	c/src/lib/libbsp/<cpu>/<bsp_family>/make/custom*.cfg.
2009-10-15 14:15:34 +00:00
Ralf Corsepius
bc7353d5f2 2009-10-15 Ralf Corsépius <ralf.corsepius@rtems.org>
* aclocal/check-custom-bsp.m4: Let _RTEMS_CHECK_CUSTOM_BSP look for
	*.cfg into c/src/lib/libbsp/<cpu>/<bsp_family>/make/custom.
2009-10-15 03:50:38 +00:00
Ralf Corsepius
6cb0f7ed02 Remove posix/unix simulator. 2009-10-14 12:12:01 +00:00