techpack: 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 Change-Id: I4929e64d53a0bc865b12a27cce37520be52c9744 Signed-off-by: Thierry Strudel <tstrudel@google.com>
This commit is contained in:
committed by
Michael Bestas
parent
388f01fcd0
commit
d4e7960540
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user