Adding a constant prefix to every label and string will increase the
size of the kernel. I would much rather find a way for cpp to strip
quotes from a #define, then -DKBUILD_OBJECT=\"unix\" has no problems.
But I don't know any cpp construct to convert KBUILD_OBJECT ("unix") to
bare 'unix' without the quotes. Undefining conflicting names is tacky
but it has the least (zero) impact on the kernel size.
ps. The variable name is KBUILD_OBJECT, not KBUILD_MODNAME. The
comment is wrong.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/