common: build.sh fix uboot fragment config
use as this: export RK_UBOOT_DEFCONFIG_FRAGMENT="rv1126-ab.config rk-sfc.config" rv1126-ab.config and rk-sfc.config is locate u-boot/configs/ Signed-off-by: Weiwen Chen <cww@rock-chips.com> Change-Id: I578590881b2a21ea61cf66bbf061f34cb2e7141d
This commit is contained in:
@ -137,7 +137,7 @@ function usageuboot()
|
||||
|
||||
cd u-boot
|
||||
echo "cd u-boot"
|
||||
if [ -f "configs/$RK_UBOOT_DEFCONFIG_FRAGMENT" ]; then
|
||||
if [ -n "$RK_UBOOT_DEFCONFIG_FRAGMENT" ]; then
|
||||
if [ -f "configs/${RK_UBOOT_DEFCONFIG}_defconfig" ]; then
|
||||
echo "make ${RK_UBOOT_DEFCONFIG}_defconfig $RK_UBOOT_DEFCONFIG_FRAGMENT"
|
||||
else
|
||||
@ -346,7 +346,7 @@ function build_uboot(){
|
||||
rm -f $TOP_DIR/u-boot/boot.img
|
||||
fi
|
||||
|
||||
if [ -f "configs/$RK_UBOOT_DEFCONFIG_FRAGMENT" ]; then
|
||||
if [ -n "$RK_UBOOT_DEFCONFIG_FRAGMENT" ]; then
|
||||
if [ -f "configs/${RK_UBOOT_DEFCONFIG}_defconfig" ]; then
|
||||
make ${RK_UBOOT_DEFCONFIG}_defconfig $RK_UBOOT_DEFCONFIG_FRAGMENT
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user