mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 05:08:30 +07:00
d56410e0a5
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
21 lines
362 B
Makefile
21 lines
362 B
Makefile
ifneq ($(KERNELRELEASE),)
|
|
|
|
pwc-objs := pwc-if.o pwc-misc.o pwc-ctrl.o pwc-uncompress.o pwc-timon.o pwc-kiara.o
|
|
|
|
obj-$(CONFIG_USB_PWC) += pwc.o
|
|
|
|
else
|
|
|
|
KDIR := /lib/modules/$(shell uname -r)/build
|
|
PWD := $(shell pwd)
|
|
|
|
default:
|
|
$(MAKE) -C $(KDIR) SUBDIRS=$(PWD) modules
|
|
|
|
endif
|
|
|
|
clean:
|
|
rm -f *.[oas] .*.flags *.ko .*.cmd .*.d .*.tmp *.mod.c
|
|
rm -rf .tmp_versions
|
|
|