package/valgrind: do not install header files on the target
PATCH 1/1 package/valgrind: do not install header files on the target
--- package/valgrind/valgrind.mk | 6 ++++++ 1 file changed, 6 insertions(+)
package/valgrind/valgrind.mk +6 -0
@@ -64,6 +64,12 @@ endef VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_INSTALL_UCLIBC_SUPP +define VALGRIND_REMOVE_TARGET_HEADERS + rm -rf $(TARGET_DIR)/usr/include/valgrind +endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_TARGET_HEADERS + ifeq ($(BR2_PACKAGE_VALGRIND_MEMCHECK),) define VALGRIND_REMOVE_MEMCHECK rm -f $(TARGET_DIR)/usr/lib/valgrind/*memcheck*
Signature · 1 line
2.19.2
PATCH 1/1 package/valgrind: do not install header files on the target
Quoted 10 lines · Titouan Christophe
Signed-off-by Titouan Christophe <[email protected]>--- package/valgrind/valgrind.mk | 6 ++++++ 1 file changed, 6 insertions(+)package/valgrind/valgrind.mk +0
-0
package/valgrind/valgrind.mk endef · line 68
Quoted 5 lines
package/valgrind/valgrind.mk +2
-0@@ -64,6 +64,12 @@ endef VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_INSTALL_UCLIBC_SUPP +define VALGRIND_REMOVE_TARGET_HEADERS + rm -rf $(TARGET_DIR)/usr/include/valgrind
Why? target-finalize already does rm -rf $(TARGET_DIR)/usr/include.
Assuming this was a mistake, I've marked this patch as Rejected in patchwork.
If there is a good reason to do this, please explain in the commit message and resend.
Regards,
Arnout
Quoted 8 lines
package/valgrind/valgrind.mk +4
-0+endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_TARGET_HEADERS + ifeq ($(BR2_PACKAGE_VALGRIND_MEMCHECK),) define VALGRIND_REMOVE_MEMCHECK rm -f $(TARGET_DIR)/usr/lib/valgrind/*memcheck*
PATCH 1/1 package/valgrind: do not install header files on the target
Indeed, I did obtain /usr/include/valgrind/* after running make valgrind alone. Sorry for the spam.
Titouan
Quoted 36 lines · Arnout Vandecappelle
Quoted 10 lines · Titouan Christophe
Signed-off-by Titouan Christophe <[email protected]>--- package/valgrind/valgrind.mk | 6 ++++++ 1 file changed, 6 insertions(+)package/valgrind/valgrind.mk +0
-0package/valgrind/valgrind.mk endef · line 68
Quoted 5 lines
package/valgrind/valgrind.mk +2
-0@@ -64,6 +64,12 @@ endef VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_INSTALL_UCLIBC_SUPP +define VALGRIND_REMOVE_TARGET_HEADERS + rm -rf $(TARGET_DIR)/usr/include/valgrindWhy? target-finalize already does rm -rf $(TARGET_DIR)/usr/include.Assuming this was a mistake, I've marked this patch as Rejected in patchwork.
If there is a good reason to do this, please explain in the commit message and resend.Regards,
ArnoutQuoted 8 lines
package/valgrind/valgrind.mk +4
-0+endef + +VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_TARGET_HEADERS + ifeq ($(BR2_PACKAGE_VALGRIND_MEMCHECK),) define VALGRIND_REMOVE_MEMCHECK rm -f $(TARGET_DIR)/usr/lib/valgrind/*memcheck*