Skip to contentSkip to conversation

host-cmake: Install with install/fast target

PATCH New Cédric Marie 3 participants 3 messages Apr 23, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 host-cmake: Install with install/fast target

Use install/fast target in order to skip compilation in installation step. The same trick has just been used in pkg-cmake.mk for all CMake packages.

---
 package/cmake/cmake.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/cmake/cmake.mk +1 -1
index 6b9e563..9ca6443 100644
@@ -44,7 +44,7 @@ define HOST_CMAKE_BUILD_CMDS
 endef
 
 define HOST_CMAKE_INSTALL_CMDS
-	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install/fast
 endef
 
 define CMAKE_REMOVE_EXTRA_DATA
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 host-cmake: Install with install/fast target

Quoted 5 lines · C?dric Marie

Use install/fast target in order to skip compilation in installation step. The same trick has just been used in pkg-cmake.mk for all CMake packages.

Regards,
Arnout

Quoted 18 lines
---
 package/cmake/cmake.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/cmake/cmake.mk +1 -1
index 6b9e563..9ca6443 100644
@@ -44,7 +44,7 @@ define HOST_CMAKE_BUILD_CMDS
 endef
 
 define HOST_CMAKE_INSTALL_CMDS
-	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install
+	$(HOST_MAKE_ENV) $(MAKE) -C $(@D) install/fast
 endef
 
 define CMAKE_REMOVE_EXTRA_DATA
Signature · 6 lines
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
#2 lore raw

PATCH 1/1 host-cmake: Install with install/fast target

In reply to Cédric Marie

Dear C?dric Marie,

Quoted 8 lines · C?dric Marie

Use install/fast target in order to skip compilation in installation step. The same trick has just been used in pkg-cmake.mk for all CMake packages.

---
 package/cmake/cmake.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com