Skip to content

Commit 496f740

Browse files
committed
add more cleanup stuff
1 parent 4aebdf4 commit 496f740

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

buildroot-external/package/freerdp3/freerdp3.mk

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,25 @@ endef
273273
FREERDP3_POST_INSTALL_TARGET_HOOKS += FREERDP3_RM_CLIENT_WL
274274
endif
275275

276-
# Remove static libraries in unusual dir
276+
# Remove static libraries in unusual dir and development files not needed on target
277277
define FREERDP3_CLEANUP
278278
rm -rf $(TARGET_DIR)/usr/lib/freerdp
279+
rm -rf $(TARGET_DIR)/usr/include/freerdp3
280+
rm -rf $(TARGET_DIR)/usr/include/winpr3
281+
rm -rf $(TARGET_DIR)/usr/lib/cmake/FreeRDP3
282+
rm -rf $(TARGET_DIR)/usr/lib/cmake/FreeRDP-Client3
283+
rm -rf $(TARGET_DIR)/usr/lib/cmake/FreeRDP-Server3
284+
rm -rf $(TARGET_DIR)/usr/lib/cmake/FreeRDP-Shadow3
285+
rm -rf $(TARGET_DIR)/usr/lib/cmake/FreeRDP-Proxy3
286+
rm -rf $(TARGET_DIR)/usr/lib/cmake/WinPR3
287+
rm -rf $(TARGET_DIR)/usr/lib/cmake/WinPR-tools3
288+
rm -f $(TARGET_DIR)/usr/lib/pkgconfig/freerdp3.pc
289+
rm -f $(TARGET_DIR)/usr/lib/pkgconfig/freerdp-client3.pc
290+
rm -f $(TARGET_DIR)/usr/lib/pkgconfig/freerdp-server3.pc
291+
rm -f $(TARGET_DIR)/usr/lib/pkgconfig/freerdp-shadow3.pc
292+
rm -f $(TARGET_DIR)/usr/lib/pkgconfig/freerdp-server-proxy3.pc
293+
rm -f $(TARGET_DIR)/usr/lib/pkgconfig/winpr3.pc
294+
rm -f $(TARGET_DIR)/usr/lib/pkgconfig/winpr-tools3.pc
279295
endef
280296
FREERDP3_POST_INSTALL_TARGET_HOOKS += FREERDP3_CLEANUP
281297

0 commit comments

Comments
 (0)