From fd0e5f6b8818b4301e70dcd24ac790639e3e2470 Mon Sep 17 00:00:00 2001 From: Mike Williams Date: Fri, 6 Mar 2015 12:17:45 -0500 Subject: [PATCH] valgrind: rename ptrcheck to sgcheck like upstream Signed-off-by: Mike Williams Signed-off-by: Thomas Petazzoni --- Config.in.legacy | 9 +++++++++ package/valgrind/Config.in | 6 +++--- package/valgrind/valgrind.mk | 8 ++++---- 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/Config.in.legacy b/Config.in.legacy index 0b87ddb59a..1f57671893 100644 --- a/Config.in.legacy +++ b/Config.in.legacy @@ -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 diff --git a/package/valgrind/Config.in b/package/valgrind/Config.in index 558d5f07b8..d9116dd38a 100644 --- a/package/valgrind/Config.in +++ b/package/valgrind/Config.in @@ -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" diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index aaca39f2ad..cfce8da923 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -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),) -- 2.30.2