1 Star 0 Fork 8

Li.XiongHui/libnxos

forked from BookOS/libnxos 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
setup.bat 865 Bytes
一键复制 编辑 原始数据 按行查看 历史
小骨头 提交于 2022-11-17 03:12 . feat: rename nxbase as nxos
::
:: Copyright (c) 2018-2022, NXOS Development Team
:: SPDX-License-Identifier: Apache-2.0
::
:: Contains: windows bat scripts for nxos lib environment
::
:: Change Logs:
:: Date Author Notes
:: 2022-1-31 JasonHu Init
::
:: usage:
:: setup.bat [arch]
:: example: setup.bat # x86
:: example: setup.bat riscv64 # riscv64
@echo off
set def_arch=%1
if "%def_arch%" == "" (
:: set default arch as x86
set def_arch=x86
)
if "%def_arch%" == "x86" (
set CROSS_COMPILE=x86_64-elf-
set ARCH=x86
) else if "%def_arch%" == "riscv64" (
set CROSS_COMPILE=riscv-none-embed-
set ARCH=riscv64
) else (
echo unknown arch! %def_arch%
goto end
)
echo Set environment for nxos lib.
echo [CROSS COMPILE ] %CROSS_COMPILE%
echo [ARCH ] %def_arch%
echo [NXOS ARCH ] %ARCH%
:end
@echo on
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C
1
https://gitee.com/Li_XiongHui/libnxos.git
git@gitee.com:Li_XiongHui/libnxos.git
Li_XiongHui
libnxos
libnxos
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385