From: Jaroslav Kysela Date: Thu, 11 Mar 2021 18:48:46 +0000 (+0100) Subject: Makefile: add SRCPATH to override the source .conf tree X-Git-Tag: v1.2.5^0 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=159981067ea975bd50d1d829a2fba53eff371dde;p=alsa-topology-conf.git 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 --- 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