1
vote
1answer
34 views

Can't “compile” the makefile

This is the make file: obj-m += hello_pass_arg.o KDIR = /lib/modules/$(shell uname -r)/build all: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules clean: rm -rf *.o *.ko *.mod.* *.symvers ...
2
votes
1answer
819 views

Trouble compiling a kernel module in linux

I am using Ubuntu 12.04. I wrote a simple hello world kernel module (hello.c). I wrote the folllowing makefile for it: obj-m+=hello.o KDIR:= /usr/src/linux-headers-3.2.0-24-generic-pae all: ...
5
votes
2answers
2k views

Which file is changed after I do “make menuconfig”?

In linux, I thought that the file Makefile is changed after I run make menuconfig. But when I diff Makefile, I don't see any difference. Which file is changed after I do make menuconfig?