Skip to content

Commit

Permalink
mbedtls: copy psa includes in InstallDev
Browse files Browse the repository at this point in the history
They are required for some of the crypto API

Signed-off-by: Felix Fietkau <nbd@nbd.name>
  • Loading branch information
nbd168 committed Apr 3, 2024
1 parent 1f3e017 commit 766ec55
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package/libs/mbedtls/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,10 @@ endef

define Build/InstallDev
$(INSTALL_DIR) $(1)/usr/include
$(CP) $(PKG_INSTALL_DIR)/usr/include/mbedtls $(1)/usr/include/
$(CP) \
$(PKG_INSTALL_DIR)/usr/include/mbedtls \
$(PKG_INSTALL_DIR)/usr/include/psa \
$(1)/usr/include/
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so* $(1)/usr/lib/
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.a $(1)/usr/lib/
Expand Down

0 comments on commit 766ec55

Please sign in to comment.