-
Notifications
You must be signed in to change notification settings - Fork 1
/
,config
66 lines (47 loc) · 1.69 KB
/
,config
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
## hyphop ##
## kernel build config
export bdir=$PWD
src=kernel-mizy
kernel_path=$src
add=kernel-files
configs=kernel-configs
patches=kernel-patches
mod_rpath=bin/modules
mod_path=$bdir/$mod_rpath
mod_out=bin/modules.all
mod_out_links=bin/modules.links
kernel_out=bin
kernel_cmp="lzma gzip"
kernel_cmp="gzip lzma"
#kernel_cmp="lzma lzo"
kernel_build_args="-j 32"
logs=logs
kernel_log_out="$logs/kernel.log"
kernel_err_out="$logs/kernel.err"
modules_log_out="$logs/modules.log"
modules_err_out="$logs/modules.err"
modules_install_log_out="$logs/modules_install.log"
modules_install_err_out="$logs/modules_install.err"
kernel_path=linux-sun8i/sun8i
kernel_path=$src
kernel_image_path=$src/arch/arm/boot
kernel_image=$kernel_image_path/Image
kernel_zimage=$kernel_image_path/zImage
tc_gcc=OpenWrt-Toolchain-imx6_gcc-5.3.0_musl-1.1.16_eabi.Linux-x86_64
tc_src=https://downloads.openwrt.org/snapshots/trunk/imx6/generic/$tc_gcc.tar.bz2
tc_gcc_dir=toolchain-arm_cortex-a9.neon_gcc-5.3.0_musl-1.1.15_eabi
#tc_gcc_dir=toolchain-arm_cortex-a9.neon_gcc-5.3.0_musl-1.1.16_eabi
tc_gcc_squash=$tc_gcc_dir.squashfs
squash_tc_base=https://github.com/hyphop/pkg/releases/download/arm-gcc
squash_tc_name=$tc_gcc_squash
squash_tc_link="$squash_tc_base/$squash_tc_name"
pack_src=kernel.tar.xz
squash_src=$src.squashfs
squash_src_base=https://github.com/hyphop/pkg/releases/download/linux-kernel/
squash_src_name=linux-kernel-3.4.113-sunxi-miZy.squashfs
#squash_src_link=https://github.com/hyphop/pkg/releases/download/uboot/uboot-v2017.01.squashfs
squash_src_link="$squash_src_base/$squash_src_name"
export ARCH=arm
export CROSS_COMPILE=arm-openwrt-linux-
export STAGING_DIR=$PWD/../$tc_gcc_dir
export PATH=$STAGING_DIR/bin/:$PATH