package/azure-iot-sdk-c: use full destination path for $(INSTALL)
The canonical way to use $(INSTALL) is to have a full destination
path, that includes the file name.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 59de11b047
)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
8a768ad62e
commit
42687ce675
@ -46,7 +46,7 @@ endif
|
||||
|
||||
define AZURE_IOT_SDK_C_INSTALL_STAGING_CMDS
|
||||
$(foreach l,$(AZURE_IOT_SDK_C_LIBS), \
|
||||
$(INSTALL) -D -m 0755 $(@D)/$(l) $(STAGING_DIR)/usr/lib/
|
||||
$(INSTALL) -D -m 0755 $(@D)/$(l) $(STAGING_DIR)/usr/lib/$(notdir $(l))
|
||||
)
|
||||
cp -a $(@D)/c-utility/inc/* $(STAGING_DIR)/usr/include/
|
||||
cp -a $(@D)/iothub_client/inc/* $(STAGING_DIR)/usr/include/
|
||||
@ -54,7 +54,7 @@ endef
|
||||
|
||||
define AZURE_IOT_SDK_C_INSTALL_TARGET_CMDS
|
||||
$(foreach l,$(AZURE_IOT_SDK_C_LIBS), \
|
||||
$(INSTALL) -D -m 0755 $(@D)/$(l) $(TARGET_DIR)/usr/lib/
|
||||
$(INSTALL) -D -m 0755 $(@D)/$(l) $(TARGET_DIR)/usr/lib/$(notdir $(l))
|
||||
)
|
||||
endef
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user