summaryrefslogtreecommitdiffstats
path: root/build
blob: 01c637e9750fb44b9a512a51fe8c11a4185b7505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/usr/bin/make -f

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -- \
		--disable-python
	oh-autobuild
	if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
		(cd src && make check); \
	fi
	touch $@

install: build
	oh-autoinstall
	rm dest/usr/bin/aserver
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libasound.la
	rm dest/usr/lib/$(OPK_HOST_ARCH)/alsa-lib/smixer/*.la
	oh-fixperms
	oh-strip -k
	oh-installfiles