You've already forked apple-bce-drv
mirror of
https://github.com/t2linux/apple-bce-drv.git
synced 2026-04-30 13:31:39 -07:00
7b5f55f951
Signed-off-by: Aun-Ali Zaidi <admin@kodeit.net>
29 lines
636 B
Makefile
29 lines
636 B
Makefile
modname := apple-bce
|
|
obj-m += $(modname).o
|
|
|
|
apple-bce-objs := apple_bce.o mailbox.o queue.o queue_dma.o vhci/vhci.o vhci/queue.o vhci/transfer.o audio/audio.o audio/protocol.o audio/protocol_bce.o audio/pcm.o
|
|
|
|
MY_CFLAGS += -DWITHOUT_NVME_PATCH
|
|
#MY_CFLAGS += -g -DDEBUG
|
|
ccflags-y += ${MY_CFLAGS}
|
|
CC += ${MY_CFLAGS}
|
|
|
|
KVERSION := $(KERNELRELEASE)
|
|
ifeq ($(origin KERNELRELEASE), undefined)
|
|
KVERSION := $(shell uname -r)
|
|
endif
|
|
|
|
KDIR := /lib/modules/$(KVERSION)/build
|
|
PWD := $(shell pwd)
|
|
|
|
.PHONY: all
|
|
|
|
all:
|
|
$(MAKE) -C $(KDIR) M=$(PWD) modules
|
|
|
|
clean:
|
|
$(MAKE) -C $(KDIR) M=$(PWD) clean
|
|
|
|
install:
|
|
$(MAKE) -C $(KDIR) M=$(PWD) modules_install
|