make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules - Linux

By Mason
at 2011-05-24T21:45
at 2011-05-24T21:45
Table of Contents
make -C /lib/modules/$(KVERSION)/build M=$(PWD) modules
這是我從一個Driver的 Makefile 檔中看到的一段指令
我用man 查了 make
-C 的用意可以查詢的到
可是 M 的用意就不太清楚了 $(PWD) 可以腦補他是指當前目錄
M=當前目錄 可以這樣解讀吧.....??
最後是 modules 的用途是??
--
Tags:
Linux
All Comments

By Callum
at 2011-05-28T00:19
at 2011-05-28T00:19

By Yedda
at 2011-05-28T06:49
at 2011-05-28T06:49

By Carol
at 2011-05-31T17:47
at 2011-05-31T17:47
Related Posts
UNIX工作站 .tshrc怎麼開啟...

By Candice
at 2011-05-24T13:36
at 2011-05-24T13:36
筆電合上螢幕待機

By Freda
at 2011-05-24T12:23
at 2011-05-24T12:23
取得固定時間內檔案被存取的次數

By Noah
at 2011-05-24T11:11
at 2011-05-24T11:11
筆電合上螢幕待機

By Andy
at 2011-05-23T23:08
at 2011-05-23T23:08
chomd

By Gary
at 2011-05-23T20:38
at 2011-05-23T20:38