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

macros = \
	PREFIX='/usr' \
	LIBPATH='/usr/lib/$(OPK_HOST_ARCH)'

nop:
	@:

build:
	oh-autobuild -- -f makefile.shared $(macros)
	touch $@

install: build
	oh-autoinstall -- -f makefile.shared $(macros)
	rm dest/usr/lib/$(OPK_HOST_ARCH)/libtommath.la
	oh-fixperms
	oh-strip
	oh-installfiles