歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux綜合 >> Linux內核 >> Linux內核開發者的實用技巧兩則

Linux內核開發者的實用技巧兩則

日期:2017/2/27 9:37:12   编辑:Linux內核

 我是在實在對重復的勞動感到煩悶後想起它們的,呵呵,希望對大家有用。     以下是關於kernel image的兩則技巧:     1.建立symbol-link,指向你的固定名字的目的kernel image (soure file修改後制成的kernel image), 這樣,拷貝/移動這個kernel用來測試方便多了。     2.實現給kernel image改名自動化(默認的是bzImage etc) 修改   $SRC_TOPDIR/arch/xxx(對我這個鄉下人而言xxx here永遠都是I386)/boot/Makefile     bzImage的規則下增加一條自定義的改名規則:     bzImage:   .....   mv bzImage Apsl3-bzImage(Any name u like)




Copyright © Linux教程網 All Rights Reserved