package/paho-mqtt-c: disable tests and cpack docs
PATCH 1/1 package/paho-mqtt-c: disable tests and cpack docs
paho-mqtt-c by default enables the building of test materials and install of CPack documentation:
PAHO_ENABLE_TESTING - "Build tests and run"PAHO_ENABLE_CPACK - "Enable CPack"
Let's disable these to save a couple megabytes and time. This is in keeping with the generic settings in pkg-cmake.mk.
--- package/paho-mqtt-c/paho-mqtt-c.mk | 2 ++ 1 file changed, 2 insertions(+)
package/paho-mqtt-c/paho-mqtt-c.mk +2 -0
@@ -10,6 +10,8 @@ PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE PAHO_MQTT_C_INSTALL_STAGING = YES +PAHO_MQTT_C_CONF_OPTS += -DPAHO_ENABLE_TESTING=FALSE -DPAHO_ENABLE_CPACK=FALSE + ifeq ($(BR2_PACKAGE_OPENSSL),y) PAHO_MQTT_C_DEPENDENCIES += openssl PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=TRUE
Signature · 1 line
2.17.1
Thomas Petazzoni
AppliedPATCH 1/1 package/paho-mqtt-c: disable tests and cpack docs
Quoted 6 lines · On Sat, 25 Apr 2020 15:56:08 -0400 Danomi Manchego…
paho-mqtt-c by default enables the building of test materials and install of CPack documentation:
PAHO_ENABLE_TESTING- "Build tests and run"PAHO_ENABLE_CPACK- "Enable CPack"
Quoted 7 lines
Let's disable these to save a couple megabytes and time. This is in keeping with the generic settings in pkg-cmake.mk.
Signed-off-by Danomi Manchego <[email protected]>--- package/paho-mqtt-c/paho-mqtt-c.mk | 2 ++ 1 file changed, 2 insertions(+)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/paho-mqtt-c: disable tests and cpack docs
In reply to Danomi ManchegoQuoted 5 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Danomi" == Danomi Manchego <[email protected]> writes:
paho-mqtt-c by default enables the building of test materials and install of CPack documentation:
Quoted 7 lines
PAHO_ENABLE_TESTING- "Build tests and run"PAHO_ENABLE_CPACK- "Enable CPack"Let's disable these to save a couple megabytes and time. This is in keeping with the generic settings in pkg-cmake.mk.
Signed-off-by Danomi Manchego <[email protected]>
Committed to 2020.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard