From 44a5ca633e186c5836010366c515a4017836121b Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Fri, 29 Apr 2022 09:15:41 +0200 Subject: pkg/ast, pkg/compiler: support per-file metadata We have a bunch of hacks in syz-extract, syz-sysgen and syz-check with respect to description files unsupported on some arches, or that must not be part of make extract. Add 2 meta attribtues to files: meta noextract Tells `make extract` to not extract constants for this file. Though, `syz-extract` can still be invoked manually on this file. meta arches["arch1", "arch2"] Restricts this file only to the given set of architectures. `make extract` and ``make generate` will not use it on other architectures. Later we can potentially use meta attributes to specify git tree/commit that must be used for extraction. Maybe something else. Fixes #2754 --- sys/linux/dev_bifrost.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sys/linux/dev_bifrost.txt') diff --git a/sys/linux/dev_bifrost.txt b/sys/linux/dev_bifrost.txt index e6d212610..f1de33dff 100644 --- a/sys/linux/dev_bifrost.txt +++ b/sys/linux/dev_bifrost.txt @@ -4,6 +4,10 @@ # The source file of mali bifrost ioctl can be found in ChromeOS source tree: # https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-4.19/drivers/gpu/arm/bifrost/mali_kbase_ioctl.h +# Not upstream, generated on: +# https://chromium.googlesource.com/chromiumos/third_party/kernel d2a8a1eb8b86 +meta noextract + include include include -- cgit mrf-deployment