1 Star 0 Fork 2

蓝精灵/linux-kernel

forked from heyuanjie87/linux-kernel 
Create your Gitee Account
Explore and code with more than 14 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
SConscript 350 Bytes
Copy Edit Raw Blame History
heyuanjie87 authored 2025-08-03 20:42 +08:00 . 添加第一版
from building import *
import os
src = Glob('*.c')
cwd = GetCurrentDir()
inc = []
group = DefineGroup('init', src, depend=[''], CPPPATH=inc)
list = os.listdir(cwd)
for item in list:
if os.path.isfile(os.path.join(cwd, item, 'SConscript')):
group = group + SConscript(os.path.join(item, 'SConscript'))
Return('group')
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hichard/linux-kernel.git
git@gitee.com:hichard/linux-kernel.git
hichard
linux-kernel
linux-kernel
master

Search