summaryrefslogtreecommitdiff
path: root/pcr/crosstool-ng-git/ctng-libre.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-12 17:15:47 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-01-12 17:18:02 -0300
commit67d68b250a3069d3be23a0f2fcb82486eedaba73 (patch)
tree88170b25a3fe92252db701fd60648ded3a325425 /pcr/crosstool-ng-git/ctng-libre.patch
parentbaf24e9cd6c93bd843f7513af3ed8b7eabc06eb4 (diff)
crosstool-ng-git: add new package to [pcr]
Diffstat (limited to 'pcr/crosstool-ng-git/ctng-libre.patch')
-rw-r--r--pcr/crosstool-ng-git/ctng-libre.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pcr/crosstool-ng-git/ctng-libre.patch b/pcr/crosstool-ng-git/ctng-libre.patch
new file mode 100644
index 000000000..4c9c85435
--- /dev/null
+++ b/pcr/crosstool-ng-git/ctng-libre.patch
@@ -0,0 +1,19 @@
+diff -Nur crosstool-ng-1.21.0.orig/scripts/build/kernel/linux.sh crosstool-ng-1.21.0/scripts/build/kernel/linux.sh
+--- crosstool-ng-1.21.0.orig/scripts/build/kernel/linux.sh 2015-05-25 16:47:17.000000000 -0300
++++ crosstool-ng-1.21.0/scripts/build/kernel/linux.sh 2015-07-07 04:00:33.900903515 -0300
+@@ -45,13 +45,8 @@
+ k_ver="${CT_KERNEL_VERSION}"
+ ;;
+ esac
+- case "${CT_KERNEL_VERSION}" in
+- 2.6.*) rel_dir=v2.6;;
+- 3.*) rel_dir=v3.x;;
+- 4.*) rel_dir=v4.x;;
+- esac
+- korg_base="http://www.kernel.org/pub/linux/kernel/${rel_dir}"
+- CT_GetFile "linux-${CT_KERNEL_VERSION}" \
++ korg_base="http://linux-libre.fsfla.org/pub/linux-libre/releases/${CT_KERNEL_VERSION}-gnu"
++ CT_GetFile "linux-libre-${CT_KERNEL_VERSION}-gnu" \
+ "${korg_base}" \
+ "${korg_base}/longterm/v${k_ver}" \
+ "${korg_base}/longterm"