From 159981067ea975bd50d1d829a2fba53eff371dde Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Thu, 11 Mar 2021 19:48:46 +0100 Subject: [PATCH] Makefile: add SRCPATH to override the source .conf tree It may be handy to use: make SRCPATH=/usr/share/alsa firmware Signed-off-by: Jaroslav Kysela --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ef8c367..936d3f2 100644 --- a/Makefile +++ b/Makefile @@ -3,13 +3,14 @@ # Requires the alsatplg tool (alsa-utils) # +SRCPATH ?= . FWPATH ?= /lib/firmware targets = $(FWPATH)/skl_hda_dsp_generic-tplg.bin all: firmware -$(FWPATH)/skl_hda_dsp_generic-tplg.bin: topology/hda-dsp/skl_hda_dsp_generic-tplg.conf +$(FWPATH)/skl_hda_dsp_generic-tplg.bin: $(SRCPATH)/topology/hda-dsp/skl_hda_dsp_generic-tplg.conf alsatplg -c $< -o $@ .DUMMY: firmware -- 2.47.3