valgrind: rename ptrcheck to sgcheck like upstream
authorMike Williams <mike@mikebwilliams.com>
Fri, 6 Mar 2015 17:17:45 +0000 (12:17 -0500)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 7 Mar 2015 13:48:12 +0000 (14:48 +0100)
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Config.in.legacy
package/valgrind/Config.in
package/valgrind/valgrind.mk

index 0b87ddb59a50d0414021ca65d3de8ca87fb21b47..1f576718935dab8dd7e7da2354a7250b1b17424e 100644 (file)
@@ -99,7 +99,16 @@ comment "----------------------------------------------------"
 endif
 
 ###############################################################################
+comment "Legacy options removed in 2015.05"
 
+config BR2_PACKAGE_VALGRIND_PTRCHECK
+       bool "valgrind's PTRCheck was renamed to SGCheck"
+       select BR2_LEGACY
+       select BR2_PACKAGE_VALGRIND_SGCHECK
+       help
+         PTRCheck was renamed to SGCheck in valgrind
+
+###############################################################################
 comment "Legacy options removed in 2015.02"
 
 config BR2_PACKAGE_LIBGC
index 558d5f07b8f8cf98c908e7e93b26f64b603f0b3d..d9116dd38a1007e95e45df3cd95dd0100f9288e5 100644 (file)
@@ -53,10 +53,10 @@ config BR2_PACKAGE_VALGRIND_DHAT
        help
          This option allows to install the DHAT tool
 
-config BR2_PACKAGE_VALGRIND_PTRCHECK
-       bool "Ptrcheck: an experimental head, stack and global array overrun detector"
+config BR2_PACKAGE_VALGRIND_SGCHECK
+       bool "SGCheck: an experimental stack and global array overrun detector"
        help
-         This option allows to install the Ptrcheck tool
+         This option allows to install the SGCheck tool
 
 config BR2_PACKAGE_VALGRIND_BBV
        bool "BBV: an experimental basic block vector generation tool"
index aaca39f2ad63f11d092903df3d7e83391f765ba0..cfce8da9232a82218f8b90173a12b6e01695a06a 100644 (file)
@@ -91,12 +91,12 @@ endef
 VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_DHAT
 endif
 
-ifeq ($(BR2_PACKAGE_VALGRIND_PTRCHECK),)
-define VALGRIND_REMOVE_PTRCHECK
-       rm -f $(TARGET_DIR)/usr/lib/valgrind/*ptrcheck*
+ifeq ($(BR2_PACKAGE_VALGRIND_SGCHECK),)
+define VALGRIND_REMOVE_SGCHECK
+       rm -f $(TARGET_DIR)/usr/lib/valgrind/*sgcheck*
 endef
 
-VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_PTRCHECK
+VALGRIND_POST_INSTALL_TARGET_HOOKS += VALGRIND_REMOVE_SGCHECK
 endif
 
 ifeq ($(BR2_PACKAGE_VALGRIND_BBV),)