mkfirmware.sh&mk-image.sh: Make sure using buildroot host tools
Change-Id: I3037ec2d5b91b34a9b31aa1a0887a4f47f7162b8 Signed-off-by: Jeffy Chen <jeffy.chen@rock-chips.com>
This commit is contained in:
@ -35,6 +35,11 @@ MKIMAGE=$TOP_DIR/device/rockchip/common/mk-image.sh
|
||||
rm -rf $ROCKDEV
|
||||
mkdir -p $ROCKDEV
|
||||
|
||||
# Require buildroot host tools to do image packing.
|
||||
if [ ! -d "$TARGET_OUTPUT_DIR" ]; then
|
||||
echo "Source buildroot/build/envsetup.sh"
|
||||
source $TOP_DIR/buildroot/build/envsetup.sh $RK_CFG_BUILDROOT
|
||||
fi
|
||||
|
||||
if [ "${RK_OEM_DIR}" == "dueros" ];then
|
||||
if [ $RK_ARCH == arm ];then
|
||||
|
||||
Reference in New Issue
Block a user