'-D' 'KBUILD_MODSYM=main - like KBUILD_MODNAME, without the quotes ?
Valdis Kl=?utf-8?Q?=c4=93?=tnieks
valdis.kletnieks at vt.edu
Thu Jan 28 21:04:37 EST 2021
On Thu, 28 Jan 2021 17:16:01 -0700, jim.cromie at 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"....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20210128/19446df4/attachment.sig>
More information about the Kernelnewbies
mailing list