請問如何開warning與如何build出ko檔 - Linux
By Zenobia
at 2021-05-27T23:50
at 2021-05-27T23:50
Table of Contents
請較一下
我有個codebase
(1)
其中某個makefile:
path: kerner/driver/sensor/的某個驅動
makefile只寫
obj-$(CONFIG_XXX) += sensor.o
因為我build完都沒有warning,可是應該會很多warning才對
請問我要怎麼把 warning當錯誤打開???
後來跑去/kernel/下的makefile把
KBUILD_CFLAGS+=$(call cc-disable-warning,unused-but-set-variable)移除
還是沒有用,它只發現到其他地方的warning
就是沒有我這邊的
(2)
另外請問build出來的是sensor.o
要怎麼build成另外一種ko檔
非常感謝^^
-----
Sent from JPTT on my Asus ASUS_Z012DA.
--
Tags:
Linux
All Comments
By Anthony
at 2021-05-31T11:31
at 2021-05-31T11:31
By Hedwig
at 2021-06-01T05:46
at 2021-06-01T05:46
Related Posts
pchome騙很大
By Anthony
at 2021-05-26T13:02
at 2021-05-26T13:02
給想玩Dvorak鍵盤又一時半刻轉不過來的同學們
By Emily
at 2021-05-25T13:37
at 2021-05-25T13:37
ubuntu >導向不能用在subprocess
By Charlie
at 2021-05-24T19:03
at 2021-05-24T19:03
請問有熟rapidminer資料探勘工具的人嗎?
By George
at 2021-05-23T08:38
at 2021-05-23T08:38
args特殊字元輸入請益
By Regina
at 2021-05-21T23:53
at 2021-05-21T23:53