xiaobo gu | e6c4686 | 2018-01-10 18:58:09 +0800 | [diff] [blame^] | 1 | |
| 2 | declare UBOOT_SRC_FOLDER="bl33" |
| 3 | declare MAIN_FOLDER="" |
| 4 | export UBOOT_SRC_FOLDER MAIN_FOLDER |
| 5 | |
| 6 | # build environment |
| 7 | BUILD_FOLDER="build/" |
| 8 | FIP_FOLDER="fip/" |
| 9 | MANIFEST=".repo/manifest.xml" |
| 10 | FIP_BUILD_FOLDER="fip/build/" |
| 11 | |
| 12 | # include uboot pre-build defines |
| 13 | SOURCE_FILE=("bl33/build/.config") |
| 14 | CONFIG_FILE=("bl33/build/include/autoconf.mk") |
| 15 | |
| 16 | # variables |
| 17 | declare BOARD_DIR="" |
| 18 | declare CUR_SOC="" |
| 19 | |
| 20 | # current branch/path/rev/name/remote in xml |
| 21 | declare -a GIT_INFO=("branch", "path", "rev", "name", "remote") |
| 22 | |
| 23 | function export_variables() { |
| 24 | export BUILD_FOLDER |
| 25 | export FIP_FOLDER |
| 26 | export MANIFEST |
| 27 | export CUR_SOC |
| 28 | export BOARD_DIR |
| 29 | } |