From 930d9db0eb35b529d273f9618aa581d0dae8f0e5 Mon Sep 17 00:00:00 2001 From: Thierry Strudel Date: Thu, 1 Nov 2018 09:43:54 -0700 Subject: [PATCH] techpack: audio: makefile: do not export all the variables This patch fixes an issue with all the functions defined in scripts/Makefile.lib gets called everytime when this makefile is included thus causing the build to slow down. Bug: 118818737 Bug: 139107810 Bug: 139723467 Change-Id: I4929e64d53a0bc865b12a27cce37520be52c9744 Signed-off-by: Thierry Strudel Signed-off-by: Wilson Sung Signed-off-by: UtsavBalar1231 --- techpack/audio/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/techpack/audio/Makefile b/techpack/audio/Makefile index e66fd39dd646..4da74c214f25 100644 --- a/techpack/audio/Makefile +++ b/techpack/audio/Makefile @@ -1,21 +1,23 @@ # auto-detect subdirs ifeq ($(CONFIG_ARCH_SDXPOORWILLS), y) include $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf -export +export $(shell sed 's/=.*//' $(srctree)/techpack/audio/config/sdxpoorwillsauto.conf) endif ifeq ($(CONFIG_ARCH_SM8150), y) include $(srctree)/techpack/audio/config/sm8150auto.conf -export +export $(shell sed 's/=.*//' $(srctree)/techpack/audio/config/sm8150auto.conf) endif ifeq ($(CONFIG_ARCH_SDMSHRIKE), y) include $(srctree)/techpack/audio/config/sm8150auto.conf -export +export $(shell sed 's/=.*//' $(srctree)/techpack/audio/config/sm8150auto.conf) endif ifeq ($(CONFIG_ARCH_KONA), y) include $(srctree)/techpack/audio/config/konaauto.conf +export $(shell sed 's/=.*//' $(srctree)/techpack/audio/config/konaauto.conf) endif ifeq ($(CONFIG_ARCH_SDM660), y) include $(srctree)/techpack/audio/config/sdm660auto.conf +export $(shell sed 's/=.*//' $(srctree)/techpack/audio/config/sdm660auto.conf) endif # Use USERINCLUDE when you must reference the UAPI directories only.