提交 afdaf06b 编写于 作者: S SimonLi

fix: build kernel only, fix no bin/foundation issues

上级 4a39f3ff
......@@ -51,10 +51,14 @@ if [ "${FSTYPE}" = "jffs2" ]; then
else
tool_check ${JFFS2_TOOL}
if [[ "${ROOTFS_DIR}" = *"rootfs" ]]; then
if [ -f "${ROOTFS_DIR}/bin/foundation" ] && [ -f "${ROOTFS_DIR}/bin/apphilogcat" ]; then
${JFFS2_TOOL} -q -o ${ROOTFS_IMG} -d ${ROOTFS_DIR} --pagesize=4096 --devtable ${CONFIG_PATH}
else
${JFFS2_TOOL} -q -o ${ROOTFS_IMG} -d ${ROOTFS_DIR} --pagesize=4096
fi
else
${JFFS2_TOOL} -q -o ${ROOTFS_IMG} -d ${ROOTFS_DIR} --pagesize=4096
fi
fi
elif [ "${FSTYPE}" = "vfat" ]; then
if [ "${system}" != "Linux" ]; then
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册