Displaying 2 results from an estimated 2 matches for "e7ad90b5".
2012 Apr 12
0
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
..., Institute of Information Science,
>Academia Sinica, Taiwan (R.O.C.)
>Tel:886-2-2788-3799 #1667
>Homepage: http://people.cs.nctu.edu.tw/~chenwj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120412/e7ad90b5/attachment.html>
2012 Apr 12
2
[LLVMdev] HELP: Clang options needed in command to compile device driver into linux module.
On Thu, Apr 12, 2012 at 03:48:29PM +0800, 15102925731 wrote:
> BTW, the Makefile is as folllow,
>
> CC := gcc
> obj-m := hellomodule.o
> KERNELDIR := /lib/modules/`uname -r`/build
> PWD := $(shell pwd)
> modules:
> $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
^^^^^^^^^^^^^^
Check the Makefile under KERNELDIR directory.
Regards,
chenwj
--
Wei-Ren Chen