Thread (6 messages) 6 messages, 2 authors, 2021-01-29

Re: '-D' 'KBUILD_MODSYM=main - like KBUILD_MODNAME, without the quotes ?

From: Valdis Klētnieks <hidden>
Date: 2021-01-29 02:05:04

On Thu, 28 Jan 2021 17:16:01 -0700, jim.cromie@gmail.com said:
                 from /home/jimc/projects/lx/wk-next/init/version.c:14:
/home/jimc/projects/lx/wk-next/include/linux/dynamic_debug.h:172:9: note:
���#pragma message: OK<version>[version] adding DYNDBG_TABLE���
  172 | #pragma message "OK<" KBUILD_MODNAME ">["
__stringify(KBUILD_MODSYM) "] adding DYNDBG_TABLE"
      |         ^~~~~~~
  CC      init/do_mounts.o

IOW the _sym_ works better for ## token-joining
I meant "step back a bit and explain why you had a need for that #pragma"....
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help