Allow it to be included by anything above mid_dirs. Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx> --- build-aux/syntax-check.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-aux/syntax-check.mk b/build-aux/syntax-check.mk index 70bf8c9d89..ba1874d347 100644 --- a/build-aux/syntax-check.mk +++ b/build-aux/syntax-check.mk @@ -856,7 +856,7 @@ sc_prohibit_cross_inclusion: access/ | conf/) safe="($$dir|conf|util)";; \ cpu/| network/| node_device/| rpc/| security/| storage/) \ safe="($$dir|util|conf|storage)";; \ - *) safe="($$dir|$(mid_dirs)|util)";; \ + *) safe="($$dir|$(mid_dirs)|hypervisor|util)";; \ esac; \ in_vc_files="src/$$dir" \ prohibit='^# *include .$(cross_dirs_re)' \ -- 2.24.1