加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.bat 722 Bytes
一键复制 编辑 原始数据 按行查看 历史
::
:: Copyright (c) 2018-2022, NXOS Development Team
:: SPDX-License-Identifier: Apache-2.0
::
:: Contains: windows bat scripts for nxos environment
::
:: Change Logs:
:: Date Author Notes
:: 2022-1-24 JasonHu Init
::
:: usage:
:: setup.bat [arch-platform]
:: example: setup.bat # x86-i386
:: example: setup.bat riscv64-qemu_riscv64 # riscv64-qemu_riscv64%
@echo off
set def_target=%1
if "%def_target%" == "" (
:: set default targe as x86-i386
set def_target=x86-i386
)
echo Set environment for NXOS.
set NXOS_SRC_DIR=%cd%/src
echo [SRC DIR ] %NXOS_SRC_DIR%
echo [PLAFORM ] %def_target%
cp configs/platform-%def_target%.mk platform.mk
@echo on
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化