selinux: don't use make's grouped targets feature yet
authorPaul Moore <paul@paul-moore.com>
Thu, 1 Jun 2023 14:21:21 +0000 (10:21 -0400)
committerPaul Moore <paul@paul-moore.com>
Thu, 1 Jun 2023 17:56:13 +0000 (13:56 -0400)
commit42c4e97e06a839b07d834f640a10911ad84ec8b3
tree349f8f1b416120d556cff82fe1edcd4f26f20270
parentac9a78681b921877518763ba0e89202254349d1b
selinux: don't use make's grouped targets feature yet

The Linux Kernel currently only requires make v3.82 while the grouped
target functionality requires make v4.3.  Removed the grouped target
introduced in 4ce1f694eb5d ("selinux: ensure av_permissions.h is
built when needed") as well as the multiple header file targets in
the make rule.  This effectively reverts the problem commit.

We will revisit this change when make >= 4.3 is required by the rest
of the kernel.

Cc: stable@vger.kernel.org
Fixes: 4ce1f694eb5d ("selinux: ensure av_permissions.h is built when needed")
Reported-by: Erwan Velu <e.velu@criteo.com>
Reported-by: Luiz Capitulino <luizcap@amazon.com>
Tested-by: Luiz Capitulino <luizcap@amazon.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
security/selinux/Makefile