mbedtls: copy psa includes in InstallDev
authorFelix Fietkau <nbd@nbd.name>
Wed, 3 Apr 2024 20:41:29 +0000 (22:41 +0200)
committerFelix Fietkau <nbd@nbd.name>
Wed, 3 Apr 2024 20:42:46 +0000 (22:42 +0200)
They are required for some of the crypto API

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/libs/mbedtls/Makefile

index 502bf65ffc450f43e2628c19617ba55102a4d47a..3bfbe8758bc4f2bd1470ea04c516e0b037830a07 100644 (file)
@@ -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/