Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 83a26db0 authored by Zun Qiao's avatar Zun Qiao Committed by Gerrit - the friendly Code Review server
Browse files

audio-driver: Modify audio headers path



Modify audio headers path to fix build error.

Change-Id: Ic6a63cbd252df59b705f1db30fde2d060dbedb6c
Signed-off-by: default avatarZun Qiao <zqiao@codeaurora.org>
parent e3766898
Loading
Loading
Loading
Loading
+6 −6
Original line number Diff line number Diff line
@@ -106,12 +106,12 @@ all:
	$(shell cd $(KERNEL_BINARY_DIR) && $(KERNEL_SRC)/scripts/headers_install.sh $(AUDIO_ROOT)/include/uapi/audio/sound/msmcal-hwdep.h $(UAPI_OUT)/sound/msmcal-hwdep.h)
	$(shell cd $(KERNEL_BINARY_DIR) && $(KERNEL_SRC)/scripts/headers_install.sh $(AUDIO_ROOT)/include/uapi/audio/sound/voice_params.h $(UAPI_OUT)/sound/voice_params.h)
	$(shell cd $(KERNEL_BINARY_DIR) && $(KERNEL_SRC)/scripts/headers_install.sh $(AUDIO_ROOT)/include/uapi/audio/sound/wcd-dsp-glink.h $(UAPI_OUT)/sound/wcd-dsp-glink.h)
	$(shell mkdir -p $(KERNEL_BINARY_DIR)/usr/include/sound)
	$(shell mkdir -p $(KERNEL_BINARY_DIR)/usr/include/linux/mfd)
	$(shell mkdir -p $(KERNEL_BINARY_DIR)/usr/include/linux/mfd/wcd9xxx)
	$(shell cp $(UAPI_OUT)/linux/*.h $(KERNEL_BINARY_DIR)/usr/include/linux/)
	$(shell cp $(UAPI_OUT)/linux/mfd/wcd9xxx/*.h $(KERNEL_BINARY_DIR)/usr/include/linux/mfd/wcd9xxx/)
	$(shell cp $(UAPI_OUT)/sound/*.h $(KERNEL_BINARY_DIR)/usr/include/sound/)
	$(shell mkdir -p $(KERNEL_BINARY_DIR)/usr/include/audio/sound)
	$(shell mkdir -p $(KERNEL_BINARY_DIR)/usr/include/audio/linux/mfd)
	$(shell mkdir -p $(KERNEL_BINARY_DIR)/usr/include/audio/linux/mfd/wcd9xxx)
	$(shell cp $(UAPI_OUT)/linux/*.h $(KERNEL_BINARY_DIR)/usr/include/audio/linux/)
	$(shell cp $(UAPI_OUT)/linux/mfd/wcd9xxx/*.h $(KERNEL_BINARY_DIR)/usr/include/audio/linux/mfd/wcd9xxx/)
	$(shell cp $(UAPI_OUT)/sound/*.h $(KERNEL_BINARY_DIR)/usr/include/audio/sound/)
	$(MAKE) -C $(KERNEL_SRC) M=$(shell pwd) modules $(KBUILD_OPTIONS)

modules_install: