Otavio Basso Gomes - GSE
Otavio Basso Gomes - GSE
Otavio Basso Gomes - GSE
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Hello World: compilação<br />
Através de Makefile. Para compilar é necessário ter configurações<br />
do kernel atual, por isso o “ /lib/modules/$(shell uname -r)/build”<br />
obj-m += hello.o<br />
all:<br />
modules<br />
clean:<br />
make -C /lib/modules/$(shell uname -r)/build M=$(PWD)<br />
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean<br />
8