[Buildroot] [PATCH] pkg-cmake: Skip compilation in installation step
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu Apr 23 07:50:21 UTC 2015
Dear Cédric Marie,
On Wed, 22 Apr 2015 22:11:56 +0200, Cédric Marie wrote:
> With CMake build system, the "make install" command always compiles
> before installing, to make sure that everything is up-to-date.
>
> In Buildroot environment, this is quite useless, because the package
> has always already been compiled, either at first build, or when
> invoking "make <package>-rebuild".
> In all cases, when it comes to staging or target installation step, the
> package has just been compiled.
>
> Using "make install/fast" - in order to skip the compilation step - is
> therefore more appropriate, more consistent with what other build
> systems do, and saves time when you need to rebuild your package.
>
> Signed-off-by: Cédric Marie <cedric.marie at openmailbox.org>
> ---
> package/pkg-cmake.mk | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Applied, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list