Paho MQTT Embedded C client: Use submodule pointing to upstream repo
Due to code organisation of upstream repo, MQTTClient still needs copying into our repo.
This commit is contained in:
parent
9b21c54fc5
commit
42880fded5
23 changed files with 240 additions and 1828 deletions
|
|
@ -1,9 +1,12 @@
|
|||
# Component makefile for extras/paho_mqtt_c
|
||||
|
||||
# expected anyone using bmp driver includes it as 'paho_mqtt_c/MQTT*.h'
|
||||
INC_DIRS += $(paho_mqtt_c_ROOT)..
|
||||
MQTT_PACKET_DIR=$(paho_mqtt_c_ROOT)org.eclipse.paho.mqtt.embedded-c/MQTTPacket/src/
|
||||
|
||||
# args for passing into compile rule generation
|
||||
paho_mqtt_c_SRC_DIR = $(paho_mqtt_c_ROOT)
|
||||
paho_mqtt_c_SRC_DIR = $(paho_mqtt_c_ROOT) $(MQTT_PACKET_DIR)
|
||||
|
||||
# upstream MQTT code has some unused variables
|
||||
paho_mqtt_c_CFLAGS = $(CFLAGS) -Wno-unused-but-set-variable
|
||||
|
||||
INC_DIRS += $(paho_mqtt_c_ROOT) $(MQTT_PACKET_DIR)
|
||||
|
||||
$(eval $(call component_compile_rules,paho_mqtt_c))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue