mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
syntax-check: inclusion rule for src/hypervisor
Allow it to be included by anything above mid_dirs. Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
058b30b382
commit
a1c2628513
@ -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)' \
|
||||
|
Loading…
Reference in New Issue
Block a user