1
0
Fork 0
alistair23-linux/drivers/staging/greybus/Makefile

23 lines
479 B
Makefile
Raw Normal View History

greybus-y := core.o gbuf.o debugfs.o i2c-gb.o gpio-gb.o sdio-gb.o uart-gb.o
obj-m += greybus.o
obj-m += es1-ap-usb.o
KERNELVER ?= $(shell uname -r)
KERNELDIR ?= /lib/modules/$(KERNELVER)/build
PWD := $(shell pwd)
all: module
module:
$(MAKE) -C $(KERNELDIR) M=$(PWD)
clean:
rm -f *.o *~ core .depend .*.cmd *.ko *.mod.c
rm -f Module.markers Module.symvers modules.order
rm -rf .tmp_versions Modules.symvers
coccicheck:
$(MAKE) -C $(KERNELDIR) M=$(PWD) coccicheck