src: Check for symbols ordering in ADMIN_SYM_FILES

Like we are checking for the correct order in SYM_FILES, we
should do the same for ADMIN_SYM_FILES.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
(cherry picked from commit a0d2ceb32f)
This commit is contained in:
Michal Privoznik 2015-08-31 12:45:16 +02:00 committed by Cole Robinson
parent e2b6bd5032
commit d7eb40d779

View File

@ -496,6 +496,9 @@ endif ! WITH_LINUX
check-symsorting: check-symsorting:
$(AM_V_GEN)$(PERL) $(srcdir)/check-symsorting.pl \ $(AM_V_GEN)$(PERL) $(srcdir)/check-symsorting.pl \
$(srcdir) $(SYM_FILES) $(srcdir) $(SYM_FILES)
check-admin-symsorting:
$(AM_V_GEN)$(PERL) $(srcdir)/check-symsorting.pl \
$(srcdir) $(ADMIN_SYM_FILES)
EXTRA_DIST += check-symfile.pl check-symsorting.pl EXTRA_DIST += check-symfile.pl check-symsorting.pl
# Keep this list synced with RPC_PROBE_FILES # Keep this list synced with RPC_PROBE_FILES
@ -614,7 +617,7 @@ EXTRA_DIST += check-driverimpls.pl check-aclrules.pl check-aclperms.pl
check-local: check-protocol check-symfile check-symsorting \ check-local: check-protocol check-symfile check-symsorting \
check-drivername check-driverimpls check-aclrules \ check-drivername check-driverimpls check-aclrules \
check-aclperms check-admin-symfile check-aclperms check-admin-symfile check-admin-symsorting
.PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct) .PHONY: check-protocol $(PROTOCOL_STRUCTS:structs=struct)
# Mock driver, covering domains, storage, networks, etc # Mock driver, covering domains, storage, networks, etc