SPDX identifiers in the kernel
SPDX identifiers in the kernel
Posted Dec 7, 2017 11:51 UTC (Thu) by cbcbcb (subscriber, #10350)Parent article: SPDX identifiers in the kernel
It seems a shame that these identifiers are written as comments. With appropriate macro definitions you could have
#include "spdx.h"
SPDX_LICENCE_IDENTIFIER("GPL-2.0")
And with appropriate definitions, the licence information could be propagated into object and executable files too. This would be useful, as it takes effort to establish which source files have been used in a build, and therefore which licences apply to your binaries.
