packages: rename FOO_INSTALL_HOST_OPT into FOO_INSTALL_HOST_OPTS
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Sat, 27 Sep 2014 19:32:42 +0000 (21:32 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 4 Oct 2014 16:50:21 +0000 (18:50 +0200)
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS,
make the same change for FOO_INSTALL_HOST_OPT.

Sed command used:
   find * -type f | xargs sed -i 's#_INSTALL_HOST_OPT\>#&S#g'

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-cmake.mk

index 8e6a573835045d8b58b5369e16ef58b283ccce40..1cd91ab1cac80380393b9d88448d15cd624e4c66 100644 (file)
@@ -41,7 +41,7 @@ $(2)_CONF_OPT                 ?=
 $(2)_MAKE                      ?= $$(MAKE)
 $(2)_MAKE_ENV                  ?=
 $(2)_MAKE_OPTS                 ?=
-$(2)_INSTALL_HOST_OPT          ?= install
+$(2)_INSTALL_HOST_OPTS         ?= install
 $(2)_INSTALL_STAGING_OPTS      ?= DESTDIR=$$(STAGING_DIR) install
 $(2)_INSTALL_TARGET_OPTS               ?= DESTDIR=$$(TARGET_DIR) install
 
@@ -126,7 +126,7 @@ endif
 #
 ifndef $(2)_INSTALL_CMDS
 define $(2)_INSTALL_CMDS
-       $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_HOST_OPT) -C $$($$(PKG)_BUILDDIR)
+       $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_MAKE_OPTS) $$($$(PKG)_INSTALL_HOST_OPTS) -C $$($$(PKG)_BUILDDIR)
 endef
 endif