[Share Experiences] 写个在内核编译过程中学到的经验!
Tofloor
poster avatar
.(柯南)
deepin
2023-06-19 04:55
Author

我现在的内核都是靠github actions编译的,但是在最近的一次编译中,发现编译后打包的下载文件贼长,所以看了一眼,发现:

image.png

dbg也打包出来了,百思不得其解,为什么dbg不是禁用了吗?

我的写法是这样的:

image.png

参考的是:

Chapter 4. Common kernel-related tasks (debian.org)

image.png

然后我又在网上找原因,最后看到一篇文章:

构建自定义 Linux 内核的精确指南

image.png

image.png

随后恍然大悟!!!!!

Reply Favorite View the author
All Replies
青稚
deepin
2023-06-19 04:58
#1

加油like

Reply View the author
阿尼樱奈奈
deepin
2023-06-19 05:25
#2

like

Reply View the author
donaldsebleung
deepin
2023-06-19 17:56
#3

厉害,感谢分享kissing_heart

Reply View the author
晚秋(lateautumn)
Moderator
2023-06-20 00:36
#4

向坛主学习,争取早日学会编译joy

Reply View the author
HualetWang
deepin
2023-07-02 04:08
#5

applaud

Reply View the author
Dazer007
deepin
2023-08-03 02:16
#6

求楼主的Github仓库

Reply View the author
.(柯南)
deepin
2023-08-05 20:18
#7
Dazer007

求楼主的Github仓库

https://github.com/LinuxKernelBuilder/kernel-builder.git

Reply View the author