From 83a26db0971c0c97b4f87b79e3f4116347f65de6 Mon Sep 17 00:00:00 2001 From: Zun Qiao Date: Thu, 5 Aug 2021 17:26:52 +0530 Subject: [PATCH] audio-driver: Modify audio headers path Modify audio headers path to fix build error. Change-Id: Ic6a63cbd252df59b705f1db30fde2d060dbedb6c Signed-off-by: Zun Qiao --- Makefile.am | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile.am b/Makefile.am index ebb6535eb79e..25c1e0e83d2a 100755 --- a/Makefile.am +++ b/Makefile.am @@ -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: