From: Prarit Bhargava on
gitlab.com
https://gitlab.com/cki-project/kernel-ark/-/merge_requests/1779#note_9458...
Just out of curiosity, as it looks inconsistent (but I guess there
might be a
deeper reasoning behind if): why has one variable a "PACKAGE"
prefix (with
underscore behind it), and two a "SPECK" prefix (with no underscore after it)
and the other one no prefix at all?
@knurd42, variables prefixed with SPEC are those variables that are copied
into the specfile. Other variables currently have no naming convention.
I added the "SPEC" rule because it was not possible to track which
variables directly affected the SPEC file and which were used for other
reasons in the Makefile.
FWIW, I don't like PACKAGE_NAME either. I considered changing it to
PKGNAME but unfortunately there are SIGs and likely other clones using it.
the kernel-rt group certainly is setting PACKAGE_NAME="kernel-rt" for
their builds. Changing it would require a significant effort for those
groups and it isn't a big deal.