mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-11-02 09:01:48 -05:00
Add a small "hdajacksensetest" helper
I previously had a small python script doing the same thing, but it depended on hda-analyzer, which always breaks when something new is added to the codec proc file. I got tired and rewrote it as a small C program instead, which I hope will be a useful addition to alsa-tools. Signed-off-by: David Henningsson <david.henningsson@canonical.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
eb6408a791
commit
7a7d94a031
5 changed files with 182 additions and 1 deletions
12
hdajacksensetest/Makefile.am
Normal file
12
hdajacksensetest/Makefile.am
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
MYNAME = hdajacksensetest
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
bin_PROGRAMS = hdajacksensetest
|
||||
AM_CFLAGS = @GLIB_CFLAGS@ -I "../hdajackretask/" -I "../hda-verb/"
|
||||
hdajacksensetest_SOURCES = hdajacksensetest.c ../hdajackretask/sysfs-pin-configs.c
|
||||
hdajacksensetest_LDADD = @GLIB_LIBS@
|
||||
|
||||
alsa-dist: distdir
|
||||
@rm -rf ../distdir/$(MYNAME)
|
||||
@mkdir -p ../distdir/$(MYNAME)
|
||||
@cp -RLpv $(distdir)/* ../distdir/$(MYNAME)
|
||||
@rm -rf $(distdir)
|
||||
Loading…
Add table
Add a link
Reference in a new issue