lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131007212731.GC2900@krava.redhat.com>
Date:	Mon, 7 Oct 2013 23:27:31 +0200
From:	Jiri Olsa <jolsa@...hat.com>
To:	Ingo Molnar <mingo@...nel.org>
Cc:	linux-kernel@...r.kernel.org,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Arnaldo Carvalho de Melo <acme@...hat.com>,
	Namhyung Kim <namhyung@...nel.org>,
	David Ahern <dsahern@...il.com>
Subject: Re: [PATCH 31/50] tools/perf/build: Speed up auto-detection of
 features by adding a 'test-all' target

On Mon, Oct 07, 2013 at 01:56:24PM +0200, Ingo Molnar wrote:

SNIP

> +
> +#
> +# Print the result of the feature test:
> +#
> +define feature_print_code
> +  ifeq ($(feature-$(1)), 1)
> +    MSG := $(shell printf '...%30s: [ \033[32mon\033[m  ]' $(1))
> +  else
> +    MSG := $(shell printf '...%30s: [ \033[31mOFF\033[m ]' $(1))
> +  endif
> +  $(info $(MSG))
> +endef
> +
> +$(foreach feat,$(FEATURE_TESTS) DUMMY,$(call feature_print,$(feat)))
> +
> +# newline at the end of the feature printouts:
> +$(info )
>  
> -ifeq ($(stackprotector-all), 1)
> +ifeq ($(feature-stackprotector-all), 1)
>    CFLAGS += -fstack-protector-all
>  endif

nit, belongs to:
  tools/perf/build: Split out feature check: 'stackprotector-all'

jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ