summaryrefslogtreecommitdiffstats
path: root/c/src/make
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/make')
-rw-r--r--c/src/make/README21
-rw-r--r--c/src/make/host.cfg.in6
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
#