alsa-utils/topology/Makefile.am
Ranjani Sridharan 4bc386bb71 topology: pre-process-dai: add support for hwcfg objects
Add supprt for hwcfg objects:
For ex:
Object.Base.hw_config."SSP0 hw_config 0" {
		id		0
		mclk_freq	24000000
		bclk_freq	4800000
		tdm_slot_width	25
	}

would get converted to:

SectionHWConfig {
        'SSP0 hw_config 0' {
                id 0
                format I2S
                bclk codec_consumer
                bclk_freq 4800000
                fsync codec_consumer
                fsync_freq 48000
                mclk codec_mclk_in
                mclk_freq 24000000
                tdm_slots 2
                tdm_slot_width 25
                tx_slots 3
                rx_slots 3
        }
}

and the corresponding SectionBE will be updated with the hwcfgs reference as:

	hw_configs [
		'SSP0 hw_config 0'
        ]

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2021-05-25 18:26:51 +02:00

24 lines
426 B
Makefile

bin_PROGRAMS = \
alsatplg
if USE_RST2MAN
man_MANS = alsatplg.1
endif
%.1: %.rst
rst2man $< > $@
alsatplg_SOURCES = topology.c pre-processor.c pre-process-class.c pre-process-object.c \
pre-process-dapm.c pre-process-dai.c
noinst_HEADERS = topology.h pre-processor.h
AM_CPPFLAGS = \
-Wall -I$(top_srcdir)/include
alsatplg_LDADD = $(ALSA_TOPOLOGY_LIBS)
EXTRA_DIST = alsatplg.rst
CLEANFILES = alsatplg.1