oe-lite / core

Official OE-lite/core repository - moved to GitLab.com
https://gitlab.com/oe-lite/core
Other
4 stars 17 forks source link

kernel.oeclass: add escape hatch when building perf #247

Closed Villemoes closed 5 years ago

Villemoes commented 5 years ago

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.