Because the previous MOSQUITTO_CONF_OPT configuration used
CROSS_CMAKE_USR, the installation of /etc/mosquitto/mosquitto.conf
failed since the source was located at
/usr/etc/mosquitto/mosquitto.conf.
Using CROSS_CMAKE_ROOT instead fixes this issue and all files are
installed to the correct location.

Signed-off-by: Tamino Bauknecht <[email protected]>
---
 rules/mosquitto.make | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rules/mosquitto.make b/rules/mosquitto.make
index eedb5ca58..f8887e019 100644
--- a/rules/mosquitto.make
+++ b/rules/mosquitto.make
@@ -34,7 +34,7 @@ MOSQUITTO_LICENSE_FILES       := \
 
 MOSQUITTO_CONF_TOOL    := cmake
 MOSQUITTO_CONF_OPT     := \
-       $(CROSS_CMAKE_USR) \
+       $(CROSS_CMAKE_ROOT) \
        -DDOCUMENTATION=OFF \
        -DINC_BRIDGE_SUPPORT=ON \
        -DINC_DB_UPGRADE=ON \
-- 
2.37.3


Reply via email to