2017-09-14 10:29:26 +02:00
|
|
|
snd-soc-wm8960-objs := wm8960.o
|
|
|
|
snd-soc-ac108-objs := ac108.o
|
2017-11-10 09:52:24 +01:00
|
|
|
snd-soc-simple-card-objs := simple-card.o
|
2017-09-14 10:29:26 +02:00
|
|
|
|
|
|
|
|
|
|
|
obj-m += snd-soc-wm8960.o
|
|
|
|
obj-m += snd-soc-ac108.o
|
2017-11-10 09:52:24 +01:00
|
|
|
obj-m += snd-soc-simple-card.o
|
2017-09-14 10:29:26 +02:00
|
|
|
|
2017-04-27 09:31:04 +02:00
|
|
|
|
|
|
|
all:
|
|
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules
|
|
|
|
|
|
|
|
clean:
|
|
|
|
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean
|
|
|
|
|
|
|
|
install:
|
2017-09-14 11:26:20 +02:00
|
|
|
sudo cp snd-soc-ac108.ko /lib/modules/$(shell uname -r)/kernel/sound/soc/codecs/
|
|
|
|
sudo cp snd-soc-wm8960.ko /lib/modules/$(shell uname -r)/kernel/sound/soc/codecs/
|
2017-11-10 09:52:24 +01:00
|
|
|
sudo cp snd-soc-simple-card.ko /lib/modules/$(shell uname -r)/kernel/sound/soc/generic/
|
2017-04-27 09:31:04 +02:00
|
|
|
sudo depmod -a
|