-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathexample.json
More file actions
44 lines (44 loc) · 1.38 KB
/
example.json
File metadata and controls
44 lines (44 loc) · 1.38 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"oauth_token": "<YOUR GITHUB OAUTH TOKEN>",
"cross_compiler": "arm-unknown-linux-gnueabi",
"replacements": {
"build_dir": "/home/uname/Documents/RouterReversing/tools/openssh/build",
"ld_loc": "/tmp/root/lib"
},
"packages": [
{
"name":"openssl",
"repo":"https://github.com/openssl/openssl",
"configure_opts": "CROSS_COMPILE=$cross_compiler$- ./Configure -DL_ENDIAN --prefix=$build_dir$ linux-armv4",
"install": "make -j 32 install"
},
{
"name":"openssh",
"repo":"https://github.com/openssh/openssh-portable",
"configure_opts": "autoreconf; LDFLAGS='-Wl,--rpath=$ld_loc$ -Wl,--dynamic-linker=$ld_loc$/ld-linux.so.3' ./configure --disable-strip --host=$cross_compiler$ --prefix=$build_dir$ --with-ssl-dir=$build_dir$ --with-zlib=$build_dir$",
"depends": ["openssl", "zlib"],
"install": "make install-files",
"patches":"patches/openssh"
},
{
"name":"zlib",
"repo":"https://github.com/madler/zlib",
"configure_opts": "CC=$cross_compiler$-gcc ./configure --prefix=$build_dir$",
"install": "make -j 32 install"
}
],
"image_settings": {
"image_name":"debug.sqfs",
"image_config":"image_config",
"cross_compiler_lib_root": "/home/uname/x-tools/arm-unknown-linux-gnueabi/arm-unknown-linux-gnueabi/sysroot/lib",
"executables": [
"sbin/sshd",
"bin/ssh",
"bin/ssh-keygen",
"bin/scp"
],
"ld_library_paths":[
"build/lib"
]
}
}