raspi_gpio_driver

diff Makefile @ 0:fbab2b3e28da

gpio module first test
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 04 Mar 2016 05:20:55 +0000
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/Makefile	Fri Mar 04 05:20:55 2016 +0000
     1.3 @@ -0,0 +1,9 @@
     1.4 +obj-m := gpio.o
     1.5 +
     1.6 +.PHONY: all
     1.7 +all:
     1.8 +	make -C /lib/modules/$(shell uname -r)/build M=$(shell pwd) modules
     1.9 +
    1.10 +.PHONY: clean
    1.11 +clean:
    1.12 +	make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean