Files
luban-lite/tools/scripts/onestep/cbuild.bat
刘可亮 8bca5e8332 v1.0.4
2024-04-03 16:40:57 +08:00

17 lines
340 B
Batchfile

@echo off
rem SPDX-License-Identifier: GPL-2.0+
rem
rem Copyright (C) 2023 ArtInChip Technology Co., Ltd
if NOT exist %SDK_PRJ_TOP_DIR%\.config (
echo Not lunch project yet
goto cb_exit
)
set /P defconfig=<%SDK_PRJ_TOP_DIR%\.defconfig
set build_dir=%SDK_PRJ_TOP_DIR%\output\%defconfig%
if exist %build_dir% cd /d %build_dir%
:cb_exit