Commit | Line | Data |
---|---|---|
1 | obj-m += hello.o | |
2 | obj-m += proc.o | |
3 | ||
4 | all: | |
5 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules | |
6 | modinfo *.ko | sed -e 's/filename:/\nfilename:/g' | |
7 | clean: | |
8 | make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean |