summaryrefslogtreecommitdiffstats
path: root/tools (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-06-15tools: Remove install-if-change programSebastian Huber5-235/+0
The last installed tool in RTEMS repository is the install-if-change script. It is not used to build/install BSPs. This script does the same as the standard "install" program with an additional feature to install variants via the -V command line option. This script is used by the standard Makefile support: c/src/make/host.cfg.in:INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change The INSTALL_CHANGE is used by: c/src/make/host.cfg.in:ifndef INSTALL_CHANGE c/src/make/host.cfg.in:INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change c/src/make/host.cfg.in:INSTALL_VARIANT=$(INSTALL_CHANGE) -V "$(LIB_VARIANT)" Remove the support for variant installation and instead use the standard "install" program. This breaks application Makefiles using the standard Makefile support of RTEMS. Close #3455.
2018-06-15tools: Remove duplicate doxy-filterSebastian Huber2-22/+0
This is a duplicate of cpukit/doxy-filter and not used.
2018-06-15tools: Remove packhexSebastian Huber3-571/+0
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-15tools: Remove rtems-testsuite-autostuffSebastian Huber1-49/+0
It is not used. Close #3447.
2018-06-15tools: Remove cvsignore-add.shSebastian Huber2-26/+1
This script is obsolete since moving to Git. Close #3446.
2018-06-15tools: Remove multigenSebastian Huber2-172/+1
This script is unused and out dated. Close #3445.
2018-06-15tools: Remove unhexSebastian Huber3-779/+1
This program has no license information and is unused in the RTEMS build. Users of HEX files should consider to use ELF instead. Remove it. Close #3378.
2018-06-15tools: Remove eolstripSebastian Huber2-372/+1
This program has no license information and is unused in the RTEMS build. General usability is questionable, for example a sed -i 's/[[:space:]]*$//' file performs a similar task. Remove it. Close #3377.
2018-06-15tools: Remove cklengthSebastian Huber2-371/+1
This program has no license information and is unused in the RTEMS build. General usability is questionable, for example a awk 'length($0) > 80' < file performs a similar task. Remove it. Close #3376.
2018-06-14tools: Remove rtems-bin2cSebastian Huber2-332/+1
This tool is now included in the RTEMS tools repository. Close #3380.
2018-06-14tools: Remove size_rtemsSebastian Huber5-341/+0
This script is horribly out of date. A new version could be placed in RTEMS tools if necessary. Close #3451.
2018-06-14tools: Remove nios2genSebastian Huber20-2966/+0
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, the this tool is RTEMS GPL licensed. If users of this tool still exist, they can reimplement the functionality using a BSD-style license and add it to the RTEMS tools. Close #3444.
2018-06-11tools: Remove shgenSebastian Huber9-698/+0
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, the shgen tool is GPL licensed. Remove all uses of this tool from the code base. Replace generated files with stub functions. If users of this BSP still exist, they can reimplement the functionality using a BSD-style license. Close #3443.
2018-05-02tests: Move rtems-test-check.pySebastian Huber2-363/+0
Remove shell script variant.
2018-04-12tools: Add a -N option to force a name on the array.Chris Johns1-5/+17
This can be used to have a different file name for the same data name. Update #2769
2018-04-11configure: Add subdir-objects to all automake flags.Chris Johns5-5/+5
This option silences warning with automake-1.16.1 allowing us to upgrade to that version. This change has been tested with automake-1.12.6 and automake-1.16.1. It seems version 1.16.1 configures slower than 1.12.6 for the same source and BSP. The newer versions is 6 second slower. Close #3387.
2018-04-04build: Remove EXTRA_DISTSebastian Huber1-2/+0
A "make dist" is not supported. So, it makes no sense to have pure "make dist" related stuff in the Makefile.am.
2018-02-19unhex.c: Remove unnecessary extern of errnoJoel Sherrill1-2/+0
Closes #2610.
2018-01-25Remove make preinstallChris Johns5-0/+10
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.
2017-04-19testsuite: Fix rtems-test-check-py when a BSP has no tcfg file.Chris Johns1-1/+7
Updates #2981.
2017-04-18testsuite: Fix rtems-test-check not excluding tests.Chris Johns1-11/+49
The include file handling was broken. Add a test configuration data README. Closes #2981.
2017-04-05rtems-test-check-py: Fix typoSebastian Huber1-1/+1
2017-04-04testsuite: Add a common test configuration. Fix configure.ac and Makefile.am ↵Chris Johns3-16/+230
errors. - Add a top level test configuration file for test states that are common to all BSPs. This saves adding a test configuration (tcfg) file for every BSP. - Add the test states 'user-input' and 'benchmark'. This lets 'rtems-test' stop the test rather than waiting for a timeout or letting a benchmark run without the user asking for it to run. - Implement rtems-test-check in Python to make it faster. The shell script had grown to a point it was noticably slowing the build down. - Fix the configure.ac and Makefile.am files for a number of the test directories. The files are difficiult to keep in sync with the number of tests and mistakes can happen such as tests being left out of the build. The test fsrofs01 is an example. Also a there was a mix of SUBDIRS and _SUBDIRS being used and only _SUBDIRS should be used. - Fix the test fsrofs01 so it compiles. Closes #2963.
2017-03-22termios: Synchronize with latest FreeBSD headersKevin Kirspel1-9/+20
Adding modified FreeBSD headers to synchronize RTEMS termios with FreeBSD. Modify termios to support dedicated input and output baud for termios structure. Updated BSPs to use dedicated input and output baud in termios structure. Updated tools to use dedicated input and output baud in termios structure. Updated termios testsuites to use dedicated input and output baud in termios structure. Close #2897.
2017-03-14tools/build/eolstrip.c: Use snprintf() to avoid potential buffer overflowJoel Sherrill1-1/+3
This was spotted by Coverity Scan.
2017-03-14Fix rtems-test-check with a BSD sed.Chris Johns1-5/+5
BSD sed does not support '\t' and treated '[ \t]' as 3 characters. This patch uses a standard method of supporting blank spaces.
2017-01-17rtems-test-check: Fix to properly process excludesStavros Passas1-1/+5
Closes #2867.
2016-12-07testsuite: Add test states to the testsuit configuration files.Chris Johns1-27/+101
Change the testsuite configuration files to hold state information about a test. The states are: exclude - Do not build the test expected-fail - The test is expected to fail indeterminate - The test may pass or may fail A message is printed just after the test's BEGIN message to indicate there is a special state for the test. No state message means the test is expected to pass. This support requires tests are correctly written to the use standard support to begin and end a test.
2016-06-06tools: Delete unused binpatchSebastian Huber2-148/+0
This was a no-install binary apparently unused. Update #2730.
2015-09-03tools/cpu/nios2/ptf.c: Fix leak of memory pointed to by new_prefixMartin Galvan1-10/+14
Updates #2405.
2015-09-03tools/cpu/nios2/memory.c: Fix uninitialized use of variable memoryMartin Galvan1-3/+2
Updates #2405.
2015-03-24tools/cpu/nios2/ptf.c: Add include of <ctype.h>Joel Sherrill1-0/+1
2015-03-24tools/build/binpatch.c: Include <unistd.h> for getopt()Joel Sherrill1-0/+1
2015-03-22tools/build/rtems-test-check: Support multiple include filesJoel Sherrill1-1/+1
2015-03-09tools/cpu/sh/sci.c: Add include of bsp.h to generated fileJoel Sherrill1-0/+1
2015-02-23rtems-bin2c: Fix Windows buildSebastian Huber1-1/+1
Update #2238.
2015-02-23Use counted strnlen in bin2c. Closes #2238.Gedare Bloom1-1/+1
2015-01-23tools: Fix fprintf() statementSebastian Huber1-1/+1
Close #2240.
2015-01-13tools/cpu/nios2/ptf.c: Add include to fix warningsJoel Sherrill1-0/+1
2014-12-05Update bug report URLSebastian Huber5-5/+5
2014-12-02tools: Provide strnlen() if missingSebastian Huber4-3/+50
2014-11-27rtems-bin2c.c: Fix free() of altered pointerJoel Sherrill1-4/+5
2014-11-26tools/build/*.c: Clean up issues reported by CodeSonarJosh Oguin5-306/+309
This code is built without warnings and ignored by Coverity Scan. CodeSonar found a wide range of issues including buffer overruns, buffer underruns, questionable type conversions, leaks, etc. This set of patches addresses all reported issues.
2014-09-05tools: Remove invalid cpp characters from the header guards.Chris Johns1-8/+21
The waf converter in examples-v2 uses an absolute path and this creates defines with invalid characters.
2014-05-28rtems-test-check: Ignore tests which require real ISR based clock tickChris Johns1-3/+27
BSPs for simulators which do not include a clock tick interrupt source are incapable of running some tests successfully. This is a common characteristic of some BSPs and a fixed set of tests. There is no point in duplicating this list of tests in those BSPs test configuration. Read testsuites/testdata/require-tick-isr.tcfg for details.
2014-05-05testsuite: Add a per BSP test check for tests not to build.Chris Johns1-0/+52
Provide a file per BSP to list tests that do not build for a BSP. This change removes the BSP_SMALL_MEMORY hack from the code. That hack was a mistake. Provide configuration files for each BSP with tests that cannot build.
2014-03-21Change all references of rtems.com to rtems.org.Chris Johns16-17/+17
2013-08-26Initialize the string before replacing charactersCynthia Rempel1-1/+1
2013-03-08RTEMS: Delete ChangeLog files.Gedare Bloom5-534/+0
This commit deletes all RTEMS ChangeLog files. These files have been abandoned since converting to git version control. The historical data may be recovered by checking out any commit before this one. Most of the contents of these ChangeLog files can also be found in the git log. Two external ChangeLog files, ChangeLog.slac and ChangeLog.zlib, remain.
2012-07-19Require automake-1.12.2.Ralf Corsépius5-5/+5