aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build-toolchain.sh18
-rwxr-xr-xscripts/fetch-toolchain.sh18
2 files changed, 36 insertions, 0 deletions
diff --git a/scripts/build-toolchain.sh b/scripts/build-toolchain.sh
index 4a7efce..a59c79c 100755
--- a/scripts/build-toolchain.sh
+++ b/scripts/build-toolchain.sh
@@ -1,5 +1,23 @@
#!/usr/bin/env bash
+#
+# CMOS
+# Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
set -xe
tar cf - toolchain/host toolchain/cross | pigz > toolchain.tar.gz
diff --git a/scripts/fetch-toolchain.sh b/scripts/fetch-toolchain.sh
index f933131..19b8cdc 100755
--- a/scripts/fetch-toolchain.sh
+++ b/scripts/fetch-toolchain.sh
@@ -1,5 +1,23 @@
#!/usr/bin/env bash
+#
+# CMOS
+# Copyright (C) 2024 Raghuram Subramani <raghus2247@gmail.com>
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU 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 General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program. If not, see <http://www.gnu.org/licenses/>.
+#
+
set -xe
rm -rf toolchain.tar.gz toolchain/host toolchain/cross