ifndef CROSS_COMPILE
uname_M := $(shell uname -m 2>/dev/null || echo not)
ARCH ?= $(shell echo $(uname_M) | sed -e s/i.86/x86/ -e s/x86_64/x86/)

ifeq ($(ARCH),x86)

PROGS := mpssd
CC = $(CROSS_COMPILE)gcc
CFLAGS := -I../../../usr/include -I../../../tools/include

ifdef DEBUG
CFLAGS += -DDEBUG=$(DEBUG)
endif

all: $(PROGS)
mpssd: mpssd.c sysfs.c
	$(CC) $(CFLAGS) mpssd.c sysfs.c -o mpssd -lpthread

install:
	install mpssd /usr/sbin/mpssd
	install micctrl /usr/sbin/micctrl

clean:
	rm -fr $(PROGS)

endif
endif
t.cgi/linux/net-next.git' title='net-next.git Git repository'/>
</head>
<body>
<div id='cgit'><table id='header'>
<tr>
<td class='logo' rowspan='2'><a href='/cgit.cgi/'><img src='/cgit.png' alt='cgit logo'/></a></td>
<td class='main'><a href='/cgit.cgi/'>index</a> : <a href='/cgit.cgi/linux/net-next.git/'>net-next.git</a></td><td class='form'><form method='get'>
<input type='hidden' name='id' value='d966564fcdc19e13eb6ba1fbe6b8101070339c3d'/><input type='hidden' name='showmsg' value='1'/><select name='h' onchange='this.form.submit();'>
<option value='emaclite-cleanup'>emaclite-cleanup</option>
<option value='master' selected='selected'>master</option>
<option value='nds-private-remove'>nds-private-remove</option>
<option value='packet-loop-back'>packet-loop-back</option>
<option value='packet-rx-pump-back'>packet-rx-pump-back</option>
</select> <input type='submit' value='switch'/></form></td></tr>
<tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table>
<table class='tabs'><tr><td>
<a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/cs47l24.c?showmsg=1'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/soc/codecs/cs47l24.c?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/soc/codecs/cs47l24.c?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/soc/codecs/cs47l24.c?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/cs47l24.c'>
<input type='hidden' name='id' value='d966564fcdc19e13eb6ba1fbe6b8101070339c3d'/><input type='hidden' name='showmsg' value='1'/><select name='qt'>
<option value='grep'>log msg</option>
<option value='author'>author</option>
<option value='committer'>committer</option>
<option value='range'>range</option>
</select>
<input class='txt' type='search' size='10' name='q' value=''/>
<input type='submit' value='search'/>
</form>
</td></tr></table>
<div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d&amp;showmsg=1'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d&amp;showmsg=1'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d&amp;showmsg=1'>soc</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d&amp;showmsg=1'>codecs</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/cs47l24.c?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d&amp;showmsg=1'>cs47l24.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/soc/codecs/cs47l24.c?id=d966564fcdc19e13eb6ba1fbe6b8101070339c3d'>Collapse</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>