<div dir="ltr"><div>hi folks,</div><div><br></div><div>In my hacking, Im finding this useful.  </div><div>it adds a version of KBUILD_MODNAME without the quotes</div><div><br></div><div>--- a/scripts/Makefile.lib<br>+++ b/scripts/Makefile.lib<br>@@ -119,7 +119,7 @@ target-stem = $(basename $(patsubst $(obj)/%,%,$@))<br> # end up in (or would, if it gets compiled in)<br> name-fix = $(call stringify,$(subst $(comma),_,$(subst -,_,$1)))<br> basename_flags = -DKBUILD_BASENAME=$(call name-fix,$(basetarget))<br>-modname_flags  = -DKBUILD_MODNAME=$(call name-fix,$(modname))<br>+modname_flags  = -DKBUILD_MODNAME=$(call name-fix,$(modname)) -DKBUILD_MODSYM=$(modname)<br></div><br><div><br></div><div>Im suspicious however, </div><div>KBUILD_MODNAME has the quotes for a reason;</div><div>probably robustness at some level.</div><div>Afterall, __stringify() could add the quotes for cases where it was needed.</div><div><br></div><div>If there was an __unstringify_token( ) I could remove this Makefile hack,</div><div>is such a construct possible ?</div></div>