From: Yann E. MORIN Date: Fri, 19 Oct 2012 23:06:24 +0000 (+0200) Subject: kconfig: add a function to get the CONFIG_ prefix X-Git-Tag: v3.9-rc1~49^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b341f7882f04cc70b7437583f012a8d93fbfb00e;p=pandora-kernel.git kconfig: add a function to get the CONFIG_ prefix Currently, we get the CONFIG_ prefix via the CONFIG_ macro, which means the CONFIG_ prefix is hard-coded at compile time. This goes against having a run-time defined CONFIG_ prefix. Add a function that returns the CONFIG_ prefix to use (but keep the current hard-coded behavior, to be changed in a later patch). To avoid touching all the code that uses the CONFIG_ macro, we just undef it, and define it to be a call to the function. Signed-off-by: "Yann E. MORIN" Signed-off-by: Michal Marek --- Reading git-diff-tree failed