Relicense Hafnium under the BSD 3 clause license.

Updates to the rest of the links in the documentation will follow in a
separate patch.

Change-Id: I52e35dad8fa12be48df5459a5fc8521adc53d55b
Signed-off-by: Andrew Walbran <qwandor@google.com>
diff --git a/build/license.py b/build/license.py
index ee1b5e9..545eb29 100644
--- a/build/license.py
+++ b/build/license.py
@@ -2,17 +2,9 @@
 #
 # Copyright 2018 The Hafnium Authors.
 #
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-#     https://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
+# Use of this source code is governed by a BSD-style
+# license that can be found in the LICENSE file or at
+# https://opensource.org/licenses/BSD-3-Clause.
 
 """Add license header to source files.
 
@@ -26,19 +18,11 @@
 import sys
 
 
-apache2 = """{comment} Copyright {year} The Hafnium Authors.
+bsd = """{comment} Copyright {year} The Hafnium Authors.
 {comment}
-{comment} Licensed under the Apache License, Version 2.0 (the "License");
-{comment} you may not use this file except in compliance with the License.
-{comment} You may obtain a copy of the License at
-{comment}
-{comment}     https://www.apache.org/licenses/LICENSE-2.0
-{comment}
-{comment} Unless required by applicable law or agreed to in writing, software
-{comment} distributed under the License is distributed on an "AS IS" BASIS,
-{comment} WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-{comment} See the License for the specific language governing permissions and
-{comment} limitations under the License."""
+{comment} Use of this source code is governed by a BSD-style
+{comment} license that can be found in the LICENSE file or at
+{comment} https://opensource.org/licenses/BSD-3-Clause."""
 
 def Main():
     parser = argparse.ArgumentParser()
@@ -47,7 +31,7 @@
     args = parser.parse_args()
     header = "/*\n" if args.style == "c" else ""
     year = str(datetime.datetime.now().year)
-    header += apache2.format(comment=" *" if args.style == "c" else "#", year=year)
+    header += bsd.format(comment=" *" if args.style == "c" else "#", year=year)
     header += "\n */" if args.style == "c" else ""
     header += "\n\n"
     header_regex = re.escape(header).replace(year, r"\d\d\d\d")