27.11.2014 Views

Otavio Basso Gomes - GSE

Otavio Basso Gomes - GSE

Otavio Basso Gomes - GSE

SHOW MORE
SHOW LESS

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

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!