package/pkg-cmake.mk: rename _INSTALL_HOST_OPTS -> _INSTALL_OPTS

This patch renames, consistently with the other package
infrastructures, the _INSTALL_OPTS variable for host CMake-based
package.

As mentioned in [1], no host-cmake-package uses this variable so far;
so it is a safe rename.

[1] http://lists.busybox.net/pipermail/buildroot/2014-October/107712.html

Reported-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Samuel Martin 2014-10-04 19:32:12 +02:00 committed by Thomas Petazzoni
parent 2f6b9b2b71
commit 6a25cec33d

View File

@ -41,7 +41,7 @@ $(2)_CONF_OPTS ?=
$(2)_MAKE ?= $$(MAKE) $(2)_MAKE ?= $$(MAKE)
$(2)_MAKE_ENV ?= $(2)_MAKE_ENV ?=
$(2)_MAKE_OPTS ?= $(2)_MAKE_OPTS ?=
$(2)_INSTALL_HOST_OPTS ?= install $(2)_INSTALL_OPTS ?= install
$(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install
$(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install
@ -126,7 +126,7 @@ endif
# #
ifndef $(2)_INSTALL_CMDS ifndef $(2)_INSTALL_CMDS
define $(2)_INSTALL_CMDS define $(2)_INSTALL_CMDS
$$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_HOST_OPTS) -C $$($$(PKG)_BUILDDIR) $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_OPTS) -C $$($$(PKG)_BUILDDIR)
endef endef
endif endif