Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#3455 closed task (fixed)

Remove install-if-change script

Reported by: Sebastian Huber Owned by: Sebastian Huber
Priority: normal Milestone: 5.1
Component: tool Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

The last installed tool in RTEMS repository is the install-if-change script. 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)"

Is the variant stuff still supported?

I would remove the support for it and replace the "install-if-change" script with the standard "install" program.

Change History (3)

comment:1 Changed on 06/15/18 at 06:22:33 by Sebastian Huber

The script has no license information.

comment:2 Changed on 06/15/18 at 06:40:12 by Joel Sherrill

Remove it and uses on technical grounds. The remaining use isn't enough to even make the lack of license a factor.

comment:3 Changed on 06/18/18 at 05:12:45 by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"bac8d934189c02635cca752d36dce1fdad6338b8/rtems" bac8d934/rtems]:

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.

Note: See TracTickets for help on using tickets.