summaryrefslogtreecommitdiff
path: root/Makefile
blob: 8257f304587af5ab76b009403d2ba1dba9a3097c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
# Makefile for ASOC MCU Mic codec driver.
#

default: all

KBUILD_OPTIONS := CONFIG_SND_SOC_MCU_MIC_CODEC=m

all:
	$(MAKE) -C $(KERNEL_SRC) M=$(M) modules $(KBUILD_OPTIONS) KBUILD_EXTRA_SYMBOLS="$(OUT_DIR)/../exynos-google-cw-extra/drivers/sensorhub/nanohub/Module.symvers"

modules_install:
	$(MAKE) INSTALL_MOD_STRIP=1 M=$(M) -C $(KERNEL_SRC) modules_install

clean::
	rm -f *.o *.ko *.mod.c *.mod.o *~ .*.cmd Module.symvers
	rm -rf .tmp_versions