forked from Lankaster/miZy-uboot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
,config
45 lines (31 loc) · 1.22 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
## hyphop ##
## uboot build config
src=uboot-mizy
uboot_path=$src
add=uboot-files
patches=uboot-patches
dtc=../dtc
conf=orangepi_zero_hyphop_mizy_defconfig
logs=logs
tc_gcc=OpenWrt-Toolchain-imx6_gcc-5.3.0_musl-1.1.16_eabi.Linux-x86_64
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_src=https://downloads.openwrt.org/snapshots/trunk/imx6/generic/$tc_gcc.tar.bz2
tc_gcc_squash=toolchain-arm_cortex-a9.neon_gcc-5.3.0_musl-1.1.15_eabi.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"
squash_src=uboot-origin.squashfs
squash_src_base=https://github.com/hyphop/pkg/releases/download/uboot
squash_src_name=uboot-v2017.01.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 bdir=$PWD
export STAGING_DIR=$PWD/../$tc_gcc_dir
export PATH=$STAGING_DIR/bin/:$PATH
export PATH=$PWD/$dtc:$PATH
mizy_logo_addr_f=.mizy_logo_addr
uboot_make_args="-j 8"
uboot_mizy="uboot-mizy.bin"