1
0
Fork 0
alistair23-linux/tools/build
Jiri Olsa 2ec8107d8e tools build: Add CFLAGS_REMOVE_* support
Adding support to remove options from final CFLAGS for both object file
and build target. It's now possible to remove CFLAGS options like:

  CFLAGS_REMOVE_krava.o += -Wstrict-prototypes

Committer notes:

This comes from the kernel's kbuild infrastructure, the subset that is
supported in tools/ is being documented at tools/build/Documentation/Build.txt.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Tested-by: Stephane Eranian <eranian@google.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: William Cohen <wcohen@redhat.com>
Link: http://lkml.kernel.org/r/1478093749-5602-2-git-send-email-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
2016-11-14 11:37:25 -03:00
..
Documentation tools build: Add CFLAGS_REMOVE_* support 2016-11-14 11:37:25 -03:00
feature tools build: Add feature detection for g++ 2016-10-05 19:59:35 -03:00
tests tools build: Build fixdep helper from perf and basic libs 2015-09-28 15:50:55 -03:00
.gitignore perf build: Add fixdep to .gitignore 2015-10-20 10:43:28 -03:00
Build tools build: Make fixdep a hostprog 2016-10-03 11:40:35 -03:00
Build.include tools build: Add CFLAGS_REMOVE_* support 2016-11-14 11:37:25 -03:00
Makefile tools build: Make fixdep a hostprog 2016-10-03 11:40:35 -03:00
Makefile.build tools build: Support compiling C++ source file 2016-10-05 19:58:51 -03:00
Makefile.feature tools build: Add feature detection for g++ 2016-10-05 19:59:35 -03:00
Makefile.include tools build: Make fixdep a hostprog 2016-10-03 11:40:35 -03:00
fixdep.c tools build: Add fixdep dependency helper 2015-09-28 15:50:55 -03:00