@@ -17,31 +17,20 @@ const options = {path: DEPS}
1717
1818const BINUTILS_VERSION = "2.27"
1919const GCC_VERSION = "5.3.0"
20- const LINUX_VERSION = "4.9.2"
2120const MUSL_VERSION = "1.1.16"
2221
2322
2423// Source URLs
2524
2625const BINUTILS_URL = "http://ftpmirror.gnu.org/binutils/binutils-" + BINUTILS_VERSION + ".tar.gz"
2726const GCC_URL = "http://ftpmirror.gnu.org/gcc/gcc-" + GCC_VERSION + "/gcc-" + GCC_VERSION + ".tar.gz"
28- const LINUX_URL = "https://www.kernel.org/pub/linux/kernel/v4.x/linux-" + LINUX_VERSION + ".tar.gz"
2927const MUSL_URL = "http://www.musl-libc.org/releases/musl-" + MUSL_VERSION + ".tar.gz"
3028
3129
32- // Checksums
33-
34- const LINUX_SHA256 = '569fd6ec3d490f4bf12c48c6b1365002f279595b49080bbfb13c148fba6b3492'
35-
36-
3730// Patch GCC to work with musl
3831const GCC_PATCH_URL = 'https://raw.githubusercontent.com/GregorR/musl-cross/master/patches/gcc-' + GCC_VERSION + '-musl.diff'
3932
4033
41- // Patch Linux to use musl headers on OS X
42- const LINUX_DARWIN_PATCH_PATH = PATCHES + '/linux-darwin.diff'
43-
44-
4534//
4635// gcc prerequisites
4736//
@@ -99,7 +88,7 @@ function copy_headers(callback)
9988}
10089
10190//
102- // binutils, gcc, Linux & musl
91+ // binutils, gcc & musl
10392//
10493
10594var downloads =
@@ -115,22 +104,13 @@ var downloads =
115104 strip : 1 ,
116105 action : download_prerequisites
117106 } ,
118- {
119- name : 'linux' ,
120- url : LINUX_URL ,
121- sha256 : LINUX_SHA256
122- } ,
123107 {
124108 name : 'musl' ,
125109 url : MUSL_URL
126110 }
127111]
128112
129- if ( process . platform === 'darwin' )
130- {
131- downloads [ 2 ] . patch = LINUX_DARWIN_PATCH_PATH
132- downloads [ 3 ] . action = copy_headers
133- }
113+ if ( process . platform === 'darwin' ) downloads [ 2 ] . action = copy_headers
134114
135115manager ( downloads , options , function ( error )
136116{
0 commit comments