diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-15 08:18:26 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-06-15 12:57:32 +0200 |
commit | bac8d934189c02635cca752d36dce1fdad6338b8 (patch) | |
tree | e4ce8981b76b63db037a8ba8409852aa98b9b83b /c | |
parent | bsp/beatnik: Remove CFLAGS_DEBUG_V (diff) | |
download | rtems-bac8d934189c02635cca752d36dce1fdad6338b8.tar.bz2 |
tools: Remove install-if-change program
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.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/make/README | 21 | ||||
-rw-r--r-- | c/src/make/host.cfg.in | 6 |
2 files changed, 7 insertions, 20 deletions
diff --git a/c/src/make/README b/c/src/make/README index e2b96d9928..f3491c2577 100644 --- a/c/src/make/README +++ b/c/src/make/README @@ -426,24 +426,9 @@ the installation of libraries, executables, header files, and other things that need to be installed: - INSTALL_CHANGE - install a file only if the source - file is actually different than - the installed copy or if there is - no installed copy. USAGE: - - usage: install-if-change [ -vmV ] file [ file ... ] dest-directory-or-file - -v -- verbose - -V suffix -- suffix to append to targets (before any . suffix) - eg: -V _g would change 'foo' to 'foo_g' and - 'libfoo.a' to 'libfoo_g.a' - -m mode -- mode for new file(s) - - INSTALL_VARIANT - installs the built file using the - proper variant suffix (e.g. _g - for debug turns libmine.a into libmine_g.a) - This is implemented as a macro that - invokes install-if-change with the - appropriate -V argument setting. + INSTALL_CHANGE - set to host "install" program by default + + INSTALL_VARIANT - set to host "install" program by default Special Directory Makefile Targets ---------------------------------- diff --git a/c/src/make/host.cfg.in b/c/src/make/host.cfg.in index 04bc04a6fb..caedc2ee9e 100644 --- a/c/src/make/host.cfg.in +++ b/c/src/make/host.cfg.in @@ -28,9 +28,11 @@ BIN2C=rtems-bin2c endif ifndef INSTALL_CHANGE -INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change +INSTALL_CHANGE=install +endif +ifndef INSTALL_VARIANT +INSTALL_VARIANT=install endif -INSTALL_VARIANT=$(INSTALL_CHANGE) -V "$(LIB_VARIANT)" # ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile # |