mirror of
git://nv-tegra.nvidia.com/linux-nv-oot.git
synced 2025-12-22 17:25:35 +03:00
DNI: fix kernel paths
The path to the main kernel repo is subject to change. Therefore, don't hardcode the path. Instead use the $(srctree) macro. Change-Id: Id1b3ffab668142addbc1a3a38e098b0bbf0e4cef Signed-off-by: Adeel Raza <araza@nvidia.com> Reviewed-on: http://git-master/r/763205 Reviewed-by: Alexander Van Brunt <avanbrunt@nvidia.com> Tested-by: Alexander Van Brunt <avanbrunt@nvidia.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
KBUILD_CFLAGS += -I$(srctree)/../kernel-3.18/sound/soc/tegra-alt
|
||||
KBUILD_CFLAGS += -I$(srctree)/sound/soc/tegra-alt
|
||||
|
||||
snd-soc-tegra186-alt-asrc-objs := tegra186_asrc_alt.o
|
||||
snd-soc-tegra186-alt-arad-objs := tegra186_arad_alt.o
|
||||
@@ -10,7 +10,9 @@ obj-$(CONFIG_SND_SOC_TEGRA186_ARAD_ALT) += snd-soc-tegra186-alt-arad.o
|
||||
obj-$(CONFIG_SND_SOC_TEGRA210_AFC_ALT) += snd-soc-tegra186-alt-afc.o
|
||||
obj-$(CONFIG_SND_SOC_TEGRA210_XBAR_ALT) += snd-soc-tegra186-alt-xbar.o
|
||||
|
||||
# The funky manipulation of $(srctree) is for dynamically finding the name of
|
||||
# the kernel root dir.
|
||||
snd-soc-tegra-alt-t186ref-objs := tegra_t186ref_alt.o tegra_asoc_machine_alt_t18x.o \
|
||||
../../../../kernel-3.18/sound/soc/tegra-alt/tegra_asoc_machine_alt.o
|
||||
../../../../$(lastword $(subst /, ,$(srctree)))/sound/soc/tegra-alt/tegra_asoc_machine_alt.o
|
||||
|
||||
obj-$(CONFIG_SND_SOC_TEGRA_T186REF_ALT) += snd-soc-tegra-alt-t186ref.o
|
||||
|
||||
Reference in New Issue
Block a user