Skip to content

Commit

Permalink
Update the u-boot download address
Browse files Browse the repository at this point in the history
  • Loading branch information
ophub committed Feb 22, 2022
1 parent ce80d42 commit 173714b
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions rebuild
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#
# init_var : Initialize all variables
# find_armbian : Find Armbian file (build/output/images/*.img)
# download_depends : Download the dependency files
# download_kernel : Download the latest kernel
#
# confirm_version : Confirm version type
Expand Down Expand Up @@ -62,9 +61,6 @@ armbian_release_file="etc/armbian-release" # Set banner's ${BOARD_NAME}: such as
ophub_release_file="etc/ophub-release" # Add custom armbian firmware information
build_armbian=("a311d" "s922x" "s922x-n2" "s922x-reva" "s905x3" "s905x2" "s905x2-km3" "s912" "s912-t95z" "s905d" "s905d-ki" "s905x" "s905w" "s905")
#
# Dependency files repository, Download u-boot and dtb to the local directory
depends_repo="https://github.com/ophub/kernel/tree/main/depends"
#
# Latest kernel download repository
kernel_repo="https://github.com/ophub/kernel/tree/main/pub"
version_branch="stable"
Expand Down Expand Up @@ -170,20 +166,6 @@ find_armbian() {
}
}

download_depends() {
cd ${make_path}

# Convert depends library address to svn format
if [[ ${depends_repo} == http* && $(echo ${depends_repo} | grep "tree/main") != "" ]]; then
depends_repo="${depends_repo//tree\/main/trunk}"
fi

# Download all dependent files to a local directory
echo -e "Download all dependent files from [ ${depends_repo} ]"
svn export ${depends_repo} ${build_path} --force
sync
}

download_kernel() {
cd ${make_path}

Expand Down Expand Up @@ -697,8 +679,6 @@ echo -e "Server space usage before starting to compile: \n$(df -hT ${PWD}) \n"
init_var "${@}"
# Find rebuild files
find_armbian && echo -e "Armbian rebuild file: [ ${armbian_rebuild_name} ], Version: [ ${armbian_rebuild_version} ]"
# Download the dependency files
download_depends
# Download the latest kernel
[ "${auto_kernel}" == "true" ] && download_kernel
echo -e "Armbian SoC List: [ $(echo ${build_armbian[*]} | tr "\n" " ") ]"
Expand Down

0 comments on commit 173714b

Please sign in to comment.