Newer
Older
LINUX ?= /lib/modules/$(shell uname -r)/build
EXTRA_CFLAGS += -I$(obj)/../include
obj-m += zio-gpio.o
ifdef CONFIG_SPI
all:
$(MAKE) -C $(LINUX) M=$(shell /bin/pwd) modules
LINUX ?= /lib/modules/$(shell uname -r)/build
EXTRA_CFLAGS += -I$(obj)/../include
obj-m += zio-gpio.o
ifdef CONFIG_SPI
all:
$(MAKE) -C $(LINUX) M=$(shell /bin/pwd) modules