mirror of
https://github.com/seL4/seL4.git
synced 2026-04-04 14:31:12 +00:00
This commit also converts our own copyright headers to directly use SPDX, but leaves all other copyright header intact, only adding the SPDX ident. As far as possible this commit also merges multiple Data61 copyright statements/headers into one for consistency.
21 lines
520 B
Bash
Executable File
21 lines
520 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Copyright 2020, Data61, CSIRO (ABN 41 687 119 230)
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
#
|
|
|
|
xml_sources=$(find ../libsel4/arch_include/*/interfaces ../libsel4/sel4_arch_include/*/interfaces -name 'sel4arch.xml')
|
|
if [[ -z $xml_sources ]]; then
|
|
echo "Unable to find sel4arch.xml files"
|
|
exit 1
|
|
fi
|
|
|
|
idl_source=$(find ../libsel4/tools -name 'sel4_idl.dtd')
|
|
if [[ -z $idl_source ]]; then
|
|
echo "Unable to find sel4_idl.dtd"
|
|
exit 1
|
|
fi
|
|
|
|
xmllint --dtdvalid ${idl_source} --noout ${xml_sources}
|