Some versions of perf do not build cleanly with certain gccs (e.g., an
old perf may trigger warnings/errors in new gccs). Since perf by
default uses -Werror, that breaks the entire build.
This adds an escape hatch so that one can say
EXTRA_OEMAKE_PERF = "WERROR=0"
in the kernel recipe to disable -Werror. Obviously, it can also be
used for other things.
Some versions of perf do not build cleanly with certain gccs (e.g., an old perf may trigger warnings/errors in new gccs). Since perf by default uses -Werror, that breaks the entire build.
This adds an escape hatch so that one can say
EXTRA_OEMAKE_PERF = "WERROR=0"
in the kernel recipe to disable -Werror. Obviously, it can also be used for other things.