[Ksummit-2013-discuss] [ATTEND] static checking; COMPILE_TEST

Jiri Slaby jslaby at suse.cz
Tue Jul 16 20:01:44 UTC 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/16/2013 09:56 PM, Steven Rostedt wrote:
>> * I added COMPILE_TEST to the kernel Kconfig recently. It is
>> deserved to allow developers to "cross"-build drivers which are
>> normally built and loaded solely on a different platform, while
>> users will not see these drivers in their
>> x/menu/old/whatever-configs when configuring to their specific
>> platform. There was a discussion about how good this approach is,
>> whether there are any other options to do that (like new Kconfig
>> keyword). I think the patch merged was the lesser evil we could
>> come up with. Can we discuss this further and invent something 
>> better?
> 
> If the current tool reports are being ignored or even rejected by
> the maintainers, what makes you think that COMPILE_TEST will be
> any different?

No, this is a different story. This was about maintainers weren't
willing to add dependencies to Kconfigs. Like there is FB_GEODE which
actually depends on X86_32, but there was no such "depends on" in
Kconfig and they didn't want me to add one. It is due to their "urge"
to be able to compile the driver even on X86_64 .configs. So we came
up with COMPILE_TEST and we now have "depends on COMPILE_TEST ||
X86_32". They make COMPILE_TEST=y and can compile it whenever, normal
users make it =n...

- -- 
js
suse labs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJR5aaoAAoJEL0lsQQGtHBJr4oP/3L7KoZqXXwFI5Xy7SrRqmt9
t5nsUYRiokW4031rgzqAUlUncaCjZgKPbKt1VTSnl1f4bSUvvqEMraSb6YpOdAGi
Vd6C56c6m+rR+K/b4ZBv42ffh/Ew3XiwL/XNfBbkht8cvFOczByIlcK8rcs2bHJK
/Aaj4rAQWx0/Kc3sE6ueIMh0KfPRUlQ/+s80jXxhoYxdovKS1llUNKXk8WkKEliO
BGLQghLMUewa6+yc9QbFluFulMxLgphdukCUyOPScwvQ/urk4AMxTfeF6QGaMVt8
6L1/QwdjqnkErY2kiIMcSiErnNsPQYW5fwDBb5tImCUi66AYqV7cXtKWwXUBAyyP
3lPkRAv7RakZN/tx1Lte8xZRVTF7jKZ8GtkfnP8jyDM4N1+tIJi1AgdE6lH4gEki
x27JaAQAzhms0A2geLmKvzfZNQT5qeGTx6yKe1XoA2tvmiy6VGuTkZRML+LGnYOs
unwJaWgz6yN2Ko3VEZsPwFz+jP9zZDtri8p7onQ1qJimhR8vh1mUmxzO30mqDb5r
WQBc32WTMQSy4ooY1/UavZMw3SHhBP+uFqxEHaSFam6U6oZUClxPpRLJyeRc2jvf
mkjZV3YAl4LDaXz39w8zd6dfbTkBPAC7CtszMMt2irml/p2OyVXh3QmHFEH8P2Bh
ZB5RrD5tzT+wy5bDjuJA
=88EA
-----END PGP SIGNATURE-----


More information about the Ksummit-2013-discuss mailing list