[openwrt/openwrt] mbedtls: copy psa includes in InstallDev

LEDE Commits lede-commits at lists.infradead.org
Wed Apr 3 13:43:12 PDT 2024


nbd pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/766ec5596679ed0ac6110e851ed0d9769052a9d1

commit 766ec5596679ed0ac6110e851ed0d9769052a9d1
Author: Felix Fietkau <nbd at nbd.name>
AuthorDate: Wed Apr 3 22:41:29 2024 +0200

    mbedtls: copy psa includes in InstallDev
    
    They are required for some of the crypto API
    
    Signed-off-by: Felix Fietkau <nbd at nbd.name>
---
 package/libs/mbedtls/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/package/libs/mbedtls/Makefile b/package/libs/mbedtls/Makefile
index 502bf65ffc..3bfbe8758b 100644
--- a/package/libs/mbedtls/Makefile
+++ b/package/libs/mbedtls/Makefile
@@ -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/




More information about the lede-commits mailing list