diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2013-06-30 21:28:53 +0200 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-07-03 07:35:52 +0200 |
commit | 598ade90a8a4eb6036499d8d81589aadd69d9f43 (patch) | |
tree | ccb43924970623dff23072e6fbefdb2d7ea7a11d /package | |
parent | 17733c2e1461eaec41692a22b714c91b6bd0c340 (diff) | |
download | buildroot-novena-598ade90a8a4eb6036499d8d81589aadd69d9f43.tar.gz buildroot-novena-598ade90a8a4eb6036499d8d81589aadd69d9f43.zip |
package: allow to override the make install target for host packages
In order to convert gcc to the package infrastructure, we need a way
of overriding the name of the make target used for the installation of
host packages, just like we have for target packages.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r-- | package/pkg-autotools.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk index d8d7e6d47..09deef2f3 100644 --- a/package/pkg-autotools.mk +++ b/package/pkg-autotools.mk @@ -76,6 +76,7 @@ $(2)_MAKE_ENV ?= $(2)_MAKE_OPT ?= $(2)_AUTORECONF ?= NO $(2)_AUTORECONF_OPT ?= +$(2)_INSTALL_OPT ?= install $(2)_INSTALL_STAGING_OPT ?= DESTDIR=$$(STAGING_DIR) install $(2)_INSTALL_TARGET_OPT ?= DESTDIR=$$(TARGET_DIR) install $(2)_CLEAN_OPT ?= clean @@ -232,7 +233,7 @@ endif # ifndef $(2)_INSTALL_CMDS define $(2)_INSTALL_CMDS - $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) -C $$($$(PKG)_SRCDIR) install + $$(HOST_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE) $$($$(PKG)_INSTALL_OPT) -C $$($$(PKG)_SRCDIR) endef endif |