#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 Jun 15, 2018 at 6:22:33 AM by Sebastian Huber

The script has no license information.

comment:2 Changed on Jun 15, 2018 at 6:40:12 AM 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 Jun 18, 2018 at 5:12:45 AM by Sebastian Huber <sebastian.huber@…>

Resolution: fixed
Status: assignedclosed

In 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.