Signed-off-by: Zachery Wu <wuzuoyu@huawei.com>
This commit is contained in:
Zachery Wu
2021-09-27 19:47:36 +08:00
parent 10de98101b
commit b46f3878d0
+2 -3
View File
@@ -37,16 +37,15 @@ elif [ "$2" == "standard" ];then
LINUX_KERNEL_OUT=${OUT_DIR}/kernel/src_tmp/${KERNEL_VERSION}
CLANG_BASE_PATH=$3
fi
LINUX_KERNEL_OBJ_OUT=${OUT_DIR}/kernel/OBJ/${KERNEL_VERSION}
export OHOS_ROOT_PATH=$(pwd)/../../..
export PRODUCT_PATH=$4
LINUX_KERNEL_UIMAGE_FILE=${LINUX_KERNEL_OBJ_OUT}/arch/arm/boot/uImage
LINUX_KERNEL_UIMAGE_FILE=${LINUX_KERNEL_OUT}/arch/arm/boot/uImage
make -f kernel.mk
if [ -f ${LINUX_KERNEL_UIMAGE_FILE} ];then
if [ -f "${LINUX_KERNEL_UIMAGE_FILE}" ];then
echo "uImage: ${LINUX_KERNEL_UIMAGE_FILE} build success"
else
echo "uImage: ${LINUX_KERNEL_UIMAGE_FILE} build failed!!!"