From: Arnout Vandecappelle Date: Tue, 4 Jul 2017 14:04:00 +0000 (+0200) Subject: pkg-cmake: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b1255d8895beb9d7e27227a00856001e846620e;p=buildroot.git pkg-cmake: use $(HOST_DIR) instead of $(HOST_DIR)/usr as prefix Remove the redundant usr/ component of the HOST_DIR paths. Since a previous commit added a symlink from $(HOST_DIR)/usr to $(HOST_DIR), everything keeps on working. Build-tested with a bunch of cmake packages. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Reviewed-by: Romain Naour Signed-off-by: Thomas Petazzoni --- diff --git a/package/pkg-cmake.mk b/package/pkg-cmake.mk index 0897430f70..0606d26ad7 100644 --- a/package/pkg-cmake.mk +++ b/package/pkg-cmake.mk @@ -115,7 +115,7 @@ define $(2)_CONFIGURE_CMDS -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM="BOTH" \ -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY="BOTH" \ -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE="BOTH" \ - -DCMAKE_INSTALL_PREFIX="$$(HOST_DIR)/usr" \ + -DCMAKE_INSTALL_PREFIX="$$(HOST_DIR)" \ -DCMAKE_C_FLAGS="$$(HOST_CFLAGS)" \ -DCMAKE_CXX_FLAGS="$$(HOST_CXXFLAGS)" \ -DCMAKE_EXE_LINKER_FLAGS="$$(HOST_LDFLAGS)" \