]> git.ipfire.org Git - thirdparty/libvirt.git/commit
maint: ensure src/ directory includes are clean
authorEric Blake <eblake@redhat.com>
Tue, 25 Mar 2014 20:04:12 +0000 (14:04 -0600)
committerEric Blake <eblake@redhat.com>
Tue, 1 Apr 2014 16:38:12 +0000 (10:38 -0600)
commitcbfd9a6170f4546b13c64501313e5cd09b296e42
tree38111e36a3da36878e374cb2df80028973379006
parentcb93802958e0f2f7f2d8c494826d9c583094da8d
maint: ensure src/ directory includes are clean

In 'make syntax-check', we have a rule that prevents layering
violations between the various files in src.  However, we
forgot to treat conf/ and the more recently-added access/ as
lower-level directories, and were not detecting cases where
they might have used a driver file.  Also, it's not nice that
qemu can use storage/ but none of the other drivers could do so.

* cfg.mk (sc_prohibit_cross_inclusion): Tighten rules for conf/
and access/, let all other drivers use storage/.

Signed-off-by: Eric Blake <eblake@redhat.com>
cfg.mk