valgrind: rename ptrcheck to sgcheck like upstream

Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Mike Williams 2015-03-06 12:17:45 -05:00 committed by Thomas Petazzoni
parent 7ab3ebfbe2
commit fd0e5f6b88
3 changed files with 16 additions and 7 deletions

View 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

View 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"

View 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),)