summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/Makefile.am (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove old build systemSebastian Huber2021-09-211-11/+0
| | | | | Close #3250. Close #4081.
* build: Remove local.amSebastian Huber2018-10-101-1/+0
|
* build: Remove EXTRA_DISTSebastian Huber2018-04-041-23/+0
| | | | | A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
* Remove make preinstallChris Johns2018-01-251-10/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove coverhd.hSebastian Huber2017-11-241-1/+0
| | | | | | | This header file contained timing overhead values which are hard to maintain. Update #3254.
* build-system: Parallel build all subdirs.Chris Johns2017-05-241-2/+2
|
* bsps: Provide <bsp/fdt.h> for every BSPSebastian Huber2017-03-081-0/+1
| | | | Add bsp_fdt_map_intr() intended for the libbsd FDT support.
* Add shared PCI support and enhance pc386 to support non-legacy PCI ↵Joel Sherrill2016-03-101-0/+3
| | | | | | | | | | | | | | | configuration space This patch fundamentally results from enhancements to the pc386 BSP to support systems which do **NOT** have the legacy PCI BIOS. The patch adds support for detecting when legacy PCI BIOS is not present and then using IO space to access to PCI Configuration Space. This resulted in dynamically selected between two implementations of PCI and refactoring out the shared methods. This patch adds shared implementations of pci_bus_count() and pci_find_device(). Subsequent patches will remove implementations of these methods in other BSPs where possible.
* Use linker set for libio initializationSebastian Huber2016-02-031-1/+1
| | | | Update #2408.
* libbsp/Makefile.am: gpio.h as preinstalled headerBen Gras2015-10-211-0/+1
| | | | Also regenerate preinstall.am. Closes #2434.
* Removed GPIO API from the libbsp/shared Makefile.Andre Marques2015-09-251-2/+1
|
* RTEMS GPIO API definition and implementation.Andre Marques2015-08-061-1/+2
| | | | | | | | | | | Changes relative to the previous patch set: - Moved GPIO pin interrupts to rtems chains, instead of a local linked list; - Restructured the pin tracking structure, separating the interrupt information for each pin meaning that a pin without any interrupt enabled only requires 8 bytes, while keeping interrupt information (handling information, handler chain control, ...) requires 24 additional bytes (total of 32 bytes per pin with interrupts enabled); - Added support for 'parallel' pin function assignment, allowing the function assignment to be set for multiple pins in a single GPIO hardware call. If a BSP does not support this feature it becomes a sequence of individual calls per pin. Also added support for GPIO pin groupings, allowing to write and read byte data to a series of pins which behave as a single entity; - Added bank tracking structure to maintain the bank lock and bank level interrupt information (threaded/normal handling, interrupt counter); - Changed GPIO settings to BSP defined constants, reducing dynamic memory allocation; - Switched interrupt tasks for a rtems interrupt server, with the possibility of using normal interrupts (user handlers being called within ISR context).
* libmisc: More useful default configurationSebastian Huber2014-12-051-1/+1
| | | | | | | | | | | The dummy.c was a de-facto default configuration. Rename it to default-configuration.c. Use unlimited objects and the stack checker. This makes it easier for new RTEMS users which will likely use this file if they just work with the usual main() function as the application entry point. Provide proper arguments for main() using the BSP command line. Add spare user extensions and drivers. Do not initialize the network by default. Delete bspinit.c.
* bsps: Add Termios console driver initializationSebastian Huber2014-10-071-0/+1
| | | | | | Add a simple Termios console driver using a table for statically registered devices used in console_initialize() and dynamic installation via console_device_install().
* bsps: Fix build errorSebastian Huber2014-09-181-1/+1
| | | | Fix build error introduced in f535fe5311978af53635c2da8e5cb10ef9d78802.
* score: Add RTEMS_FATAL_SOURCE_BSPSebastian Huber2014-02-191-1/+1
| | | | | | Merge RTEMS_FATAL_SOURCE_BSP_GENERIC and RTEMS_FATAL_SOURCE_BSP_SPECIFIC into new fatal source RTEMS_FATAL_SOURCE_BSP. This makes it easier to figure out the code position given a fatal source and code.
* bsps: Move bsp_generic_fatal_code to new fileSebastian Huber2013-06-211-0/+1
| | | | Add bsp_generic_fatal().
* bsps: New file <bsp/default-initial-extension.h>Sebastian Huber2012-11-131-0/+6
|
* Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill2012-05-111-4/+0
| | | | | | | | | | | | 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.
* Revert: Remove CVS IdsJoel Sherrill2012-05-071-0/+4
| | | | | See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
* Remove CVS-Ids.Ralf Corsépius2012-05-041-4/+0
|
* 2009-04-28 Chris Johns <chrisj@rtems.org>Chris Johns2009-04-281-4/+4
| | | | | * Makefile.am: Add bspinit.c, a common Init task that manages command line arguments from a BSP.
* Don't install files from shared/. Remove references to preinstall.am.Ralf Corsepius2008-09-261-4/+1
|
* Changed bsp_get_workarea() to bsp_get_work_area() andThomas Doerfler2008-07-241-0/+4
| | | | added support for an optional separate heap area.
* 2008-01-16 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2008-01-161-2/+2
| | | | * Makefile.am: Fix indentation.
* 2007-02-16 Ralf Corsepius <ralf.corsepius@rtems.org>Ralf Corsepius2007-02-161-1/+1
| | | | * Makefile.am: Remove shared/main.c.
* 2007-01-30 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-01-311-0/+6
| | | | | * Makefile.am: added new files in shared/vmeUniverse to EXTRA_DIST
* 2007-01-19 Till Straumann <strauman@slac.stanford.edu>Till Straumann2007-01-191-0/+1
| | | | | | | * Makefile.am: moved VME.h from libbsp/powerpc/shared/vme to libbsp/shared/vmeUniverse; eventually, this (and other) VME API headers should migrate to cpukit.
* 2005-11-04 Till Straumann <strauman@slac.stanford.edu>Till Straumann2005-11-041-1/+7
| | | | | | | | | | | | | | | | | | | | | | | * shared/vmeUniverse/vmeTsi148.c, shared/vmeUniverse/vmeTsi148.h, shared/vmeUniverse/vme_am_defs.h: New files. * Makefile.am, shared/vmeUniverse/README.universe, shared/vmeUniverse/vmeUniverse.c, shared/vmeUniverse/vmeUniverse.h: Several VME related upgrades and fixes, hopefully addressing PR#835: vmeUniverse driver now supports shared interrupts. vmeUniverse now supports up to four wires between universe and PIC. A new irq mgr installation routine has been added allowing to use the new features. (old version is still present for bwd compatibility). Calls have been added to change interrupt routing (e.g., if wires have different priorities at the PIC this feature can be used to configure priorites). Routine for testing VME interrupts has been added (useful during BSP development). A new header defining standard VME address modes has been added so that the VME API doesn't have to #include a particular bridge driver header. For all driver entry points, a 'XX' variant has been added which allows to pass the chip's base address [in case a second universe is sitting on a VME card :-)]. Driver now uses interrupt line as read from PCI config. space (without offset) BSP needs to use PCI fixup if necessary. Added a driver for the tundra tsi148 VME bridge.
* 2004-02-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2004-02-091-1/+0
| | | | * Makefile.am: Don't include lib.am.
* 2003-12-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-181-60/+0
| | | | | * bspstart.am: Use .$(OBJEXT) instead of .o. * Makefile.am: Remove shmdr.
* 2003-12-13 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-131-6/+6
| | | | * Makefile.am: s,${PROJECT_RELEASE}/lib,$(PROJECT_LIB),g.
* 2003-12-12 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-121-3/+6
| | | | | | | | * Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES. * bsp.am: Replace bsplibdir by project_libdir. Use mkdir_p instead of mkinstalldirs. Remove dirs from PRE/TMPINSTALL_FILES.
* 2003-12-11 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-111-12/+10
| | | | | * Makefile.am: Misc. fixes. * bsp.am: Add project_libdir.
* 2003-12-03 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-12-031-2/+68
| | | | | | | * Makefile.am: Merge-in shared/Makefile.am, shmdr/Makefile.am. * shared/Makefile.am: Remove. * shmdir/Makefile.am: Remove. * bsp.am: Add preinstallation dirstamp support.
* 2003-08-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-161-2/+2
| | | | | Makefile.am: Reflect having moved automake. shmdr/Makefile.am: Reflect having moved automake.
* 2003-08-08 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2003-08-081-5/+4
| | | | | | * configure.ac: Remove (Merged into ../../configure.ac). * Makefile.am: Reflect having merged configure.ac into ../../configure.ac.
* 2002-08-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Ralf Corsepius2002-08-091-1/+1
| | | | | | * configure.ac: Remove include/Makefile, include/rtems/Makefile, include/rtems/score/Makefile (Eliminate targopts.h). * Makefile.am: Remove include from SUBDIRS (Eliminate targopts.h)
* 2002-03-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2002-03-281-1/+0
| | | | | | | | | | | * configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]). * Makefile.am: Remove AUTOMAKE_OPTIONS. * include/rtems/score/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/rtems/Makefile.am: Remove AUTOMAKE_OPTIONS. * include/Makefile.am: Remove AUTOMAKE_OPTIONS. * shmdr/Makefile.am: Remove AUTOMAKE_OPTIONS.
* 2001-10-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-10-111-1/+1
| | | | | | * Makefile.am: Use @subdirs@ instead of RTEMS_LIBBSP_CPU_SUBDIR. * configure.in: AC_PREREQ(2.52), apply RTEMS_CPU_SUBDIRS, remove RTEMS_LIBBSP_CPU_SUBDIR.
* 2001-09-22 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2001-09-241-1/+1
| | | | | | | | * Makefile.am: Use SUBDIRS = instead of SUBDIRS += to make automake-1.5 happy. * include/rtems/score/Makefile.am: Use CLEANFILES = to make automake-1.5 happy. * bsp.am: Use PREINSTALL_FILES = to make automake-1.5 happy.
* 2000-11-09 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-091-1/+1
| | | | * Makefile.am: Use ... instead of RTEMS_TOPdir in ACLOCAL_AMFLAGS.
* 2000-11-02 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-11-021-1/+1
| | | | * Makefile.am: Switch to ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal.
* 2000-10-27 Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-10-271-1/+1
| | | | | * Makefile.am: ACLOCAL_AMFLAGS= -I $(RTEMS_TOPdir)/macros. Switch to GNU canonicalization.
* Patch rtems-rc-20000709-1.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-07-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | that addresses aspects of the targopts.h multilib related issues. Changes: * Move targopts.h to libbsp/include, because the current targopts.h actually is a per-BSP-header and therefore can not stay below exec/. * Introduce an autoheader generated header file (exec/score/include/rtems/score/cpuopts.h), which shall take per-cpu configuration options only. * Move all autoconf-detectable/configure specified per-cpu option-defines from targopts.h to cpuopts.h. * Add Makefiles to the libbsp/shared directory hierarchy. Notes: * The new per-bsp targopts.h in libbsp includes the per-cpu cpuopts.h. This way, the new targopts.h is kept backward compatible to the old targopts.h and existing BSPs which (carelessly) include targopts.h (i386, ppc) should be kept working when using the multilib-disabled configuration scheme. * cpuopts.h is not yet complete, because the per-BSP make-targopts rules from custom/<BSP>.cfg files can not be applied to files below exec/ when building multilibs. * All files below exec/ should not include targopts.h anymore, but should include cpuopts.h instead. However, eliminating inclusion of targopts.h currently triggers further structural / header file inclusion related issues, because several ports apply BSP or CPU_MODEL specific defines from targopts.h below exec/
* Merged from 4.5.0-beta3aJoel Sherrill2000-06-121-2/+2
|
* Patches rtems-rc-20000118-5.diff from Ralf Corsepius <corsepiu@faw.uni-ulm.de>Joel Sherrill2000-02-011-0/+19
that contains: * The fix for the gen68360/network/Makefile.am * automatically set permissions to 755 to scripts/buildall and scripts-ada/buildall (I remembered a trick to achieve this :). * automake support for libbsp/* and libcpu/* (Attn: This part will finally break old-style configuration for all non-public cpus) NOTES: * This patch has only been tested for a random selection of BSPs (I haven't rebuilt all toolchains yet). * This patch is against rtem-cvs as of this morning (MET). To apply: patch -p1 <rtems-rc-20000118-5.diff cvs rm -f ./c/src/lib/libbsp/Makefile.in cvs rm -f ./c/src/lib/libbsp/shmdr/Makefile.in cvs rm -f ./c/src/lib/libcpu/Makefile.in cvs add ./c/src/lib/libbsp/Makefile.am cvs add ./c/src/lib/libbsp/shmdr/Makefile.am cvs add ./c/src/lib/libcpu/Makefile.am ./bootstrap