Remove NO_LIBAUDIT (replaced by CONFIG_LIBAUDIT) Remove HAVE_LIBAUDIT_SUPPORT from CFLAGS (replaced by CONFIG_LIBAUDIT) --- tools/perf/config/Makefile | 8 +++----- tools/perf/config/Makefile.fix-config | 8 -------- tools/perf/config/Makefile.fix-legacy | 4 ---- 3 files changed, 3 insertions(+), 17 deletions(-)
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile index fa07862..96bb232 100644 --- a/tools/perf/config/Makefile +++ b/tools/perf/config/Makefile @@ -392,12 +392,11 @@ ifndef NO_LIBUNWIND LDFLAGS += $(LIBUNWIND_LDFLAGS) endif -ifndef NO_LIBAUDIT +ifdef CONFIG_LIBAUDIT ifneq ($(feature-libaudit), 1) - msg := $(warning No libaudit.h found, disables 'trace' tool, please install audit-libs-devel or libaudit-dev); - NO_LIBAUDIT := 1 + msg := $(warning No libaudit.h found, disables LIBAUDIT support and 'trace' tool, please install audit-libs-devel or libaudit-dev); + $(shell $(KCONFIG_SCRIPT) -d CONFIG_LIBAUDIT) else - CFLAGS += -DHAVE_LIBAUDIT_SUPPORT EXTLIBS += -laudit endif endif @@ -763,7 +762,6 @@ all: $(call store,NO_LIBUNWIND) $(call store,NO_BACKTRACE) $(call store,NO_LIBNUMA) - $(call store,NO_LIBAUDIT) $(call store,NO_LIBBIONIC) $(call store,ETC_PERFCONFIG_SQ) $(call store,DESTDIR_SQ) diff --git a/tools/perf/config/Makefile.fix-config b/tools/perf/config/Makefile.fix-config index a8e5539..77f9840 100644 --- a/tools/perf/config/Makefile.fix-config +++ b/tools/perf/config/Makefile.fix-config @@ -69,14 +69,6 @@ dummy := $(shell $(CONFIG) -d CONFIG_NUMA) endif endif -# NO_LIBAUDIT -ifdef CONFIG_LIBAUDIT -ifdef NO_LIBAUDIT -dummy := $(info Disabling CONFIG_LIBAUDIT) -dummy := $(shell $(CONFIG) -d CONFIG_LIBAUDIT) -endif -endif - # NO_LIBBIONIC ifdef CONFIG_BIONIC ifdef NO_LIBBIONIC diff --git a/tools/perf/config/Makefile.fix-legacy b/tools/perf/config/Makefile.fix-legacy index 18acc92..ab72582 100644 --- a/tools/perf/config/Makefile.fix-legacy +++ b/tools/perf/config/Makefile.fix-legacy @@ -33,10 +33,6 @@ ifndef CONFIG_NUMA export NO_LIBNUMA := 1 endif -ifndef CONFIG_LIBAUDIT -NO_LIBAUDIT := 1 -endif - ifdef CONFIG_BIONIC NO_LIBBIONIC := 1 endif -- 1.9.3 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/