Message ID | 1412443142-12817-1-git-send-email-s.martin49@gmail.com |
---|---|
State | Superseded |
Headers | show |
Dear Samuel Martin, On Sat, 4 Oct 2014 19:19:02 +0200, Samuel Martin wrote: > This pacth 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> > --- > package/pkg-cmake.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) What about the manual? Thomas
Samuel, All, On 2014-10-04 19:19 +0200, Samuel Martin spake thusly: > This pacth 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> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Regards, Yann E. MORIN. > --- > package/pkg-cmake.mk | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk > index 85d8828..2bea003 100644 > --- a/package/pkg-cmake.mk > +++ b/package/pkg-cmake.mk > @@ -41,7 +41,7 @@ $(2)_CONF_OPTS ?= > $(2)_MAKE ?= $$(MAKE) > $(2)_MAKE_ENV ?= > $(2)_MAKE_OPTS ?= > -$(2)_INSTALL_HOST_OPTS ?= install > +$(2)_INSTALL_OPTS ?= install > $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install > $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install > > -- > 2.1.2 > > _______________________________________________ > buildroot mailing list > buildroot@busybox.net > http://lists.busybox.net/mailman/listinfo/buildroot
Thomas, All, On 2014-10-04 19:21 +0200, Thomas Petazzoni spake thusly: > Dear Samuel Martin, > > On Sat, 4 Oct 2014 19:19:02 +0200, Samuel Martin wrote: > > This pacth 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> > > --- > > package/pkg-cmake.mk | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > What about the manual? That's what I thought at first, too. But there is no reason to document it, as it is already covered in generic package infra: * HOST_LIBFOO_INSTALL_CMDS lists the actions to be performed to install the package, when the package is a host package. [...] Regards, Yann E. MORIN.
Thomas, On Sat, Oct 4, 2014 at 7:21 PM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Dear Samuel Martin, > > On Sat, 4 Oct 2014 19:19:02 +0200, Samuel Martin wrote: >> This pacth 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> >> --- >> package/pkg-cmake.mk | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > What about the manual? There is no mention of _INSTALL_OPTS or _INSTALL_HOST_OPTS in the manual. Shall I add one? (not even in the generic infra doc). It seems host-package documentation is +/- missing in the manual. :-/ BTW, do not apply this patch, I forgot some occurence of the renaming. > > Thomas > -- > Thomas Petazzoni, CTO, Free Electrons > Embedded Linux, Kernel and Android engineering > http://free-electrons.com Thanks,
diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk index 85d8828..2bea003 100644 --- a/package/pkg-cmake.mk +++ b/package/pkg-cmake.mk @@ -41,7 +41,7 @@ $(2)_CONF_OPTS ?= $(2)_MAKE ?= $$(MAKE) $(2)_MAKE_ENV ?= $(2)_MAKE_OPTS ?= -$(2)_INSTALL_HOST_OPTS ?= install +$(2)_INSTALL_OPTS ?= install $(2)_INSTALL_STAGING_OPTS ?= DESTDIR=$$(STAGING_DIR) install $(2)_INSTALL_TARGET_OPTS ?= DESTDIR=$$(TARGET_DIR) install
This pacth 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> --- package/pkg-cmake.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)