tools: ynl: use uAPI include magic for samples
authorJakub Kicinski <kuba@kernel.org>
Tue, 3 Oct 2023 15:34:16 +0000 (08:34 -0700)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 Oct 2023 00:33:54 +0000 (17:33 -0700)
commite2ca31cee9095244885f2cd0df602a5eef11c826
tree900d96a1b8c6151a733fcc4d131f2c2a8e28f4da
parenta50660173c7329c5d2ce1780a0f712a7f584d378
tools: ynl: use uAPI include magic for samples

Makefile.deps provides direct includes in CFLAGS_$(obj).
We just need to rewrite the rules to make use of the extra
flags, no need to hard-include all of tools/include/uapi.

Acked-by: Stanislav Fomichev <sdf@google.com>
Link: https://lore.kernel.org/r/20231003153416.2479808-4-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/samples/Makefile