Attaching a compilation flag to a Linux kernel build -


what best practice adding compilation flag when building linux kernel? i'm interested know both because encounter same issue time time , enabling kenter, kdebug , kleave traces in http://lxr.free-electrons.com/source/security/keys/internal.h.

when compile module can use cflags_module doesn't seem inject subtree builds when compile whole kernel.

currently add define directly source file, not lean solution.

it quite easy , had used had forgotten it. can use make cflags_kernel="<flags>".


Comments

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

Error while updating a record in APEX screen -

c++ - In an add-in in Excel, written in C(++), how does one get the name of the function which called into the addin? -