bsp/bootloader/build.sh
@@ -76,10 +76,7 @@ cd ${UBOOT_SRC} if [ ! -f .config ] ; then cp $CONF_FILE .config fi make ${BOARD}_defconfig make -j ${JOBS} cp u-boot-dtb.imx ${IMG_NAME} chmod a+x ${IMG_NAME} @@ -107,7 +104,6 @@ cd ${UBOOT_SRC} cp .config $CONF_FILE make distclean cd ${PRJ_PATH} @@ -115,7 +111,12 @@ function gen_patch() { do_clean msg_banner "Clean ${UBOOT_SRC} source code" cd ${UBOOT_SRC} make savedefconfig mv defconfig configs/${BOARD}_defconfig make distclean cd - mv ${UBOOT_SRC} ${UBOOT_SRC}-${BOARD}