Skip to content

Commit

Permalink
package/azure-iot-sdk-c: format the libraries list with one lib per line
Browse files Browse the repository at this point in the history
This makes it easier to review patches modifying these lists of
libraries, such as:

  http://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/

Signed-off-by: Thomas Petazzoni <[email protected]>
  • Loading branch information
tpetazzoni committed Apr 13, 2020
1 parent f57eeeb commit c71030f
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions package/azure-iot-sdk-c/azure-iot-sdk-c.mk
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,31 @@ AZURE_IOT_SDK_C_CONF_OPTS = -Dskip_samples=ON
# The project only supports building one kind of library.
# Further the install target installs the wrong files, so we do it here:
ifeq ($(BR2_STATIC_LIBS),y)
AZURE_IOT_SDK_C_LIBS += uamqp/libuamqp.a c-utility/libaziotsharedutil.a \
iothub_client/libiothub_client.a iothub_client/libiothub_client_mqtt_ws_transport.a \
AZURE_IOT_SDK_C_LIBS += \
uamqp/libuamqp.a \
c-utility/libaziotsharedutil.a \
iothub_client/libiothub_client.a \
iothub_client/libiothub_client_mqtt_ws_transport.a \
iothub_client/libiothub_client_amqp_ws_transport.a \
iothub_client/libiothub_client_http_transport.a \
iothub_client/libiothub_client_amqp_transport.a \
iothub_client/libiothub_client_mqtt_transport.a \
iothub_service_client/libiothub_service_client.a serializer/libserializer.a umqtt/libumqtt.a
iothub_service_client/libiothub_service_client.a \
serializer/libserializer.a \
umqtt/libumqtt.a
else
AZURE_IOT_SDK_C_LIBS += uamqp/libuamqp.so c-utility/libaziotsharedutil.so \
iothub_client/libiothub_client.so iothub_client/libiothub_client_mqtt_ws_transport.so \
AZURE_IOT_SDK_C_LIBS += \
uamqp/libuamqp.so \
c-utility/libaziotsharedutil.so \
iothub_client/libiothub_client.so \
iothub_client/libiothub_client_mqtt_ws_transport.so \
iothub_client/libiothub_client_amqp_ws_transport.so \
iothub_client/libiothub_client_http_transport.so \
iothub_client/libiothub_client_amqp_transport.so \
iothub_client/libiothub_client_mqtt_transport.so \
iothub_service_client/libiothub_service_client.so serializer/libserializer.so umqtt/libumqtt.so
iothub_service_client/libiothub_service_client.so \
serializer/libserializer.so \
umqtt/libumqtt.so
endif

define AZURE_IOT_SDK_C_INSTALL_STAGING_CMDS
Expand Down

0 comments on commit c71030f

Please sign in to comment.