target.mk: further improve handling of default enabled SECCOMP
authorMartin Schiller <ms@dev.tdt.de>
Wed, 17 Jul 2024 11:00:38 +0000 (13:00 +0200)
committerMartin Schiller <ms@dev.tdt.de>
Thu, 18 Jul 2024 12:15:49 +0000 (14:15 +0200)
commited14add1efcac7491b46cf6628cacc6e9b6a1398
tree0e3b025ba042b34f03cb9729df987b28706f2e41
parentb39375ae4cab359553e681fc3aacdf516cacf5ea
target.mk: further improve handling of default enabled SECCOMP

The fix in commit 847fad476f3d ("target.mk: improve handling of default
enabled SECCOMP") unfortunately does not work for targets where the ARCH
variable is set in ./$(SUBTARGET)/target.mk.

To get this working, the ./$(SUBTARGET)/target.mk must be included
before the check.

Fixes: 847fad476f3d ("target.mk: improve handling of default enabled SECCOMP")
Signed-off-by: Martin Schiller <ms@dev.tdt.de>
include/target.mk