Add the full license header to setup-toolchain.sh
[kernel-tools.git] / setup-toolchain.sh
index b9db21fa9107bbeb8ee812885d1ba1528fce9c53..55151b534b3ef235aaa635aa63440416b4b00242 100755 (executable)
@@ -2,6 +2,20 @@
 set -euo pipefail
 set -x
 
+# You can redistribute and/or modify this file under the terms of the
+# GNU Affero General Public License as published by the Free Software
+# Foundation, either version 3 of the License, or (at your option)
+# any later version.
+
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# Affero General Public License for more details.
+#
+# You should have received a copy of the GNU Affero General Public
+# License along with this program. If not, see
+# <https://www.gnu.org/licenses/>.
+
 # SPDX-FileCopyrightText: 2022 Jason Self <j@jxself.org>
 # SPDX-License-Identifier: AGPL-3.0-or-later
 #
@@ -249,7 +263,7 @@ do
       # The 4.19 series needs to be built with GCC 10.4 & binutils 2.37
       export gcc_version="10.4.0"
       export binutils_version="2.37"
-      export toolchain_directory="toolchain-$gcc_version-bintuils-$binutils_version"
+      export toolchain_directory="toolchain-$gcc_version-binutils-$binutils_version"
       reset_path
       set_path
       reset_path