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

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -