]> Gentwo Git Trees - linux/.git/commit
tools: testing: allow importing arch headers in shared.mk
authorBrendan Jackman <jackmanb@google.com>
Thu, 28 Aug 2025 12:27:59 +0000 (12:27 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 13 Sep 2025 23:55:25 +0000 (16:55 -0700)
commitd794cd23dc81f4e61eb166a214ea22a5b6a09d02
tree62cff740a05a922f971c08bcbcfbc3da46d81536
parentff0db419b278256a45db9bf6bd3f9a9a2c22b762
tools: testing: allow importing arch headers in shared.mk

There is an arch/ tree under tools.  This contains some useful stuff, to
make that available, add it to the -I flags.  This requires $(SRCARCH),
which is provided by Makefile.arch, so include that..

There still aren't that many headers so also just smush all of them into
SHARED_DEPS instead of starting to do any header dependency hocus pocus.

Link: https://lkml.kernel.org/r/20250828-b4-vma-no-atomic-h-v2-2-02d146a58ed2@google.com
Signed-off-by: Brendan Jackman <jackmanb@google.com>
Reviewed-by: Lorenzo Stoakes <lorenzo.stoakes@oracle.com>
Reviewed-by: Liam R. Howlett <Liam.Howlett@oracle.com>
Acked-by: Pedro Falcato <pfalcato@suse.de>
Cc: Jann Horn <jannh@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
tools/testing/shared/shared.mk