summaryrefslogtreecommitdiffstats
path: root/tools/build (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-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 Johns1-1/+1
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 Johns1-0/+2
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-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-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-02-23rtems-bin2c: Fix Windows buildSebastian Huber1-1/+1
Update #2238.
2015-02-23Use counted strnlen in bin2c. Closes #2238.Gedare Bloom1-1/+1
2014-12-05Update bug report URLSebastian Huber1-1/+1
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.
2013-08-26Initialize the string before replacing charactersCynthia Rempel1-1/+1
2013-03-08RTEMS: Delete ChangeLog files.Gedare Bloom1-213/+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épius1-1/+1
2012-07-19Require autoconf-2.69.Ralf Corsépius1-1/+1
2012-05-11Remove CVS Id Strings (manual edits after script)Joel Sherrill5-22/+2
These modifications were required by hand after running the script. In some cases, the file names did not match patterns. In others, the format of the file did not match any common patterns.
2012-05-11Remove All CVS Id Strings Possible Using a ScriptJoel Sherrill9-29/+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.
2012-05-07Revert: Remove CVS IdsJoel Sherrill2-0/+8
See http://www.rtems.org/pipermail/rtems-devel/2012-May/001006.html for details.
2012-05-04Remove CVS-Ids.Ralf Corsépius2-8/+0
2012-02-01Remove all .cvsignore files.Joel Sherrill1-18/+0
2011-06-082011-06-08 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill2-0/+13
* config.h.in: Regenerated.
2011-05-17 * tools/build/.cvsignore, tools/build/ChangeLog,Joel Sherrill17-0/+3212
tools/build/Makefile.am, tools/build/README, tools/build/binpatch.c, tools/build/cklength.c, tools/build/config.h.in, tools/build/configure.ac, tools/build/cvsignore-add.sh, tools/build/doxy-filter, tools/build/eolstrip.c, tools/build/install-if-change.in, tools/build/multigen, tools/build/packhex.c, tools/build/rtems-bin2c.c, tools/build/search-id.sh, tools/build/unhex.c, tools/cpu/.cvsignore, tools/cpu/ChangeLog, tools/cpu/Makefile.am, tools/cpu/configure.ac, tools/cpu/generic/.cvsignore, tools/cpu/generic/ChangeLog, tools/cpu/generic/Makefile.am, tools/cpu/generic/configure.ac, tools/cpu/generic/size_rtems.in, tools/cpu/nios2/.cvsignore, tools/cpu/nios2/ChangeLog, tools/cpu/nios2/Makefile.am, tools/cpu/nios2/README, tools/cpu/nios2/bridges.c, tools/cpu/nios2/bridges.h, tools/cpu/nios2/clocks.c, tools/cpu/nios2/clocks.h, tools/cpu/nios2/configure.ac, tools/cpu/nios2/devices.c, tools/cpu/nios2/devices.h, tools/cpu/nios2/linkcmds.c, tools/cpu/nios2/linkcmds.h, tools/cpu/nios2/memory.c, tools/cpu/nios2/memory.h, tools/cpu/nios2/nios2gen.c, tools/cpu/nios2/output.c, tools/cpu/nios2/output.h, tools/cpu/nios2/ptf.c, tools/cpu/nios2/ptf.h, tools/cpu/nios2/sample.ptf, tools/cpu/sh/.cvsignore, tools/cpu/sh/AUTHORS, tools/cpu/sh/COPYING, tools/cpu/sh/ChangeLog, tools/cpu/sh/Makefile.am, tools/cpu/sh/TODO, tools/cpu/sh/configure.ac, tools/cpu/sh/sci.c, tools/cpu/sh/sci.h, tools/cpu/sh/shgen.c: New files.
2011-05-172011-05-17 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill16-3157/+0
* tools/build/.cvsignore, tools/build/ChangeLog, tools/build/Makefile.am, tools/build/README, tools/build/binpatch.c, tools/build/cklength.c, tools/build/configure.ac, tools/build/cvsignore-add.sh, tools/build/doxy-filter, tools/build/eolstrip.c, tools/build/install-if-change.in, tools/build/multigen, tools/build/packhex.c, tools/build/rtems-bin2c.c, tools/build/search-id.sh, tools/build/unhex.c, tools/cpu/.cvsignore, tools/cpu/ChangeLog, tools/cpu/Makefile.am, tools/cpu/configure.ac, tools/cpu/generic/.cvsignore, tools/cpu/generic/ChangeLog, tools/cpu/generic/Makefile.am, tools/cpu/generic/configure.ac, tools/cpu/generic/size_rtems.in, tools/cpu/nios2/.cvsignore, tools/cpu/nios2/ChangeLog, tools/cpu/nios2/Makefile.am, tools/cpu/nios2/README, tools/cpu/nios2/bridges.c, tools/cpu/nios2/bridges.h, tools/cpu/nios2/clocks.c, tools/cpu/nios2/clocks.h, tools/cpu/nios2/configure.ac, tools/cpu/nios2/devices.c, tools/cpu/nios2/devices.h, tools/cpu/nios2/linkcmds.c, tools/cpu/nios2/linkcmds.h, tools/cpu/nios2/memory.c, tools/cpu/nios2/memory.h, tools/cpu/nios2/nios2gen.c, tools/cpu/nios2/output.c, tools/cpu/nios2/output.h, tools/cpu/nios2/ptf.c, tools/cpu/nios2/ptf.h, tools/cpu/nios2/sample.ptf, tools/cpu/sh/.cvsignore, tools/cpu/sh/AUTHORS, tools/cpu/sh/COPYING, tools/cpu/sh/ChangeLog, tools/cpu/sh/Makefile.am, tools/cpu/sh/TODO, tools/cpu/sh/configure.ac, tools/cpu/sh/sci.c, tools/cpu/sh/sci.h, tools/cpu/sh/shgen.c, tools/schedsim/.cvsignore, tools/schedsim/ChangeLog, tools/schedsim/Makefile.am, tools/schedsim/README, tools/schedsim/configure.ac, tools/schedsim/rtems/.cvsignore, tools/schedsim/rtems/ChangeLog, tools/schedsim/rtems/Makefile.am, tools/schedsim/rtems/interr.c, tools/schedsim/rtems/rtems_init.c, tools/schedsim/rtems/rtems_sched.h, tools/schedsim/rtems/wkspace.c, tools/schedsim/rtems/sched_cpu/cpu.c, tools/schedsim/rtems/sched_cpu/cpu_asm.c, tools/schedsim/rtems/sched_cpu/rtems/asm.h, tools/schedsim/rtems/sched_cpu/rtems/stringto.h, tools/schedsim/rtems/sched_cpu/rtems/score/cpu.h, tools/schedsim/rtems/sched_cpu/rtems/score/cpu_asm.h, tools/schedsim/rtems/sched_cpu/rtems/score/cpuopts.h, tools/schedsim/rtems/sched_cpu/rtems/score/no_cpu.h, tools/schedsim/rtems/sched_cpu/rtems/score/types.h, tools/schedsim/shell/.cvsignore, tools/schedsim/shell/ChangeLog, tools/schedsim/shell/Makefile.am, tools/schedsim/shell/schedsim_priority/.cvsignore, tools/schedsim/shell/schedsim_priority/Makefile.am, tools/schedsim/shell/schedsim_priority/config.c, tools/schedsim/shell/schedsim_priority/printheir_executing.c, tools/schedsim/shell/schedsim_priority/schedsim.cc, tools/schedsim/shell/schedsim_priority/wrap_thread_dispatch.c, tools/schedsim/shell/scripts/script01, tools/schedsim/shell/scripts/script02, tools/schedsim/shell/scripts/script03, tools/schedsim/shell/scripts/script04, tools/schedsim/shell/scripts/script05, tools/schedsim/shell/scripts/script06, tools/schedsim/shell/shared/.cvsignore, tools/schedsim/shell/shared/Makefile.am, tools/schedsim/shell/shared/commands.c, tools/schedsim/shell/shared/getopt.c, tools/schedsim/shell/shared/lookup_semaphore.c, tools/schedsim/shell/shared/lookup_task.c, tools/schedsim/shell/shared/main_clocktick.c, tools/schedsim/shell/shared/main_echo.c, tools/schedsim/shell/shared/main_executing.c, tools/schedsim/shell/shared/main_heir.c, tools/schedsim/shell/shared/main_help.c, tools/schedsim/shell/shared/main_rtemsinit.c, tools/schedsim/shell/shared/main_semcreate.c, tools/schedsim/shell/shared/main_semdelete.c, tools/schedsim/shell/shared/main_semflush.c, tools/schedsim/shell/shared/main_semobtain.c, tools/schedsim/shell/shared/main_semrelease.c, tools/schedsim/shell/shared/main_taskcreate.c, tools/schedsim/shell/shared/main_taskdelete.c, tools/schedsim/shell/shared/main_taskmode.c, tools/schedsim/shell/shared/main_taskpriority.c, tools/schedsim/shell/shared/main_taskresume.c, tools/schedsim/shell/shared/main_tasksuspend.c, tools/schedsim/shell/shared/main_taskwakeafter.c, tools/schedsim/shell/shared/schedsim_shell.h, tools/schedsim/shell/shared/shell_cmdset.c, tools/schedsim/shell/shared/shell_makeargs.c, tools/schedsim/shell/shared/include/shell.h, tools/schedsim/shell/shared/include/newlib/_ansi.h, tools/schedsim/shell/shared/include/newlib/getopt.h: Removed. * configure.ac: RTEMS Scheduler Simulator is now in its own CVS module named rtems-schedsim.
2011-02-022011-02-02 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+6
* configure.ac: Require autoconf-2.68, automake-1.11.1.
2010-07-302010-07-30 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2-2/+11
* rtems-bin2c.c: Fix memory leak in '.c' suffix strip. Also strip '.h' suffix.