#!/bin/bash current_path=$PWD source_path=$PWD/OK3568_Linux_fs OK3568_source_url=git@172.16.0.250:RK/3568-linux-5.10.160/OK3568-linux-source.git source_branch=master OK3568_kernel_url=git@172.16.0.250:RK/3568-linux-5.10.160/OK3568-linux-kernel.git kernel_branch=master OK3568_uboot_url=git@172.16.0.250:RK/3568-linux-5.10.160/OK3568-linux-uboot.git uboot_branch=master git clone $OK3568_source_url OK3568_Linux_fs cd OK3568_Linux_fs && \ git checkout $source_branch git clone $OK3568_kernel_url $source_path/kernel cd $source_path/kernel && \ git checkout $kernel_branch git clone $OK3568_uboot_url $source_path/u-boot cd $source_path/u-boot && \ git checkout $uboot_branch cd $current_path && \ cp $source_path/build_close_source.sh ./