Skip to main content

确定当前UBoot的编译配置文件及目录

  1. 确定当前uboot的编译路径和配置文件
bhu@bhu-PC:~/work$ cat build/configs/x1600e_halley6_nand_factory_defconfig | grep uboot
APP_uboot_toolchain_dir=../tools/toolchains/mips-gcc520-glibc222
APP_uboot_dir=../bootloader/uboot-x2000
APP_uboot_config=x1600e_base_halley6_xImage_sfc_nand

可知, 当前uboot编译目录为:../bootloader/uboot-x2000

所用的uboot配置文件为: x1600e_base_halley6_xImage_sfc_nand

  1. 确定当前的配置文件
bhu@bhu-PC:~/work/build$ cd ../bootloader/uboot-x2000
bhu@bhu-PC:~/work/bootloader/uboot-x2000$ cat include/config.h

29

bhu@bhu-PC:~/work/bootloader/uboot-x2000$ cat include/configs/x1600_base.h

30