From: Jaroslav Kysela Date: Thu, 11 Mar 2021 14:00:20 +0000 (+0100) Subject: Introduce Makefile to simplify the binary files availability X-Git-Tag: v1.2.5~1 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=a68d7aa59ff70aef9e4fec48daf1fffee7199711;p=alsa-topology-conf.git Introduce Makefile to simplify the binary files availability Signed-off-by: Jaroslav Kysela --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..ef8c367 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +# +# Compile and install the firmware files to /lib/firmware tree +# Requires the alsatplg tool (alsa-utils) +# + +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 + alsatplg -c $< -o $@ + +.DUMMY: firmware +firmware: $(targets) diff --git a/README.md b/README.md index f54a79c..834f2a0 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # alsa-topology-conf ALSA topology configuration files + +Use 'make firmware' to compile and install the topology files +to the /lib/firmware tree.