summaryrefslogtreecommitdiff
path: root/pcr/crosstool-ng-git/ctng-libre.patch
blob: 4c9c85435dfa7231aa2ee17b6250f68203d83502 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"