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

include ../source.mk

nop:
	@:

build:
	oh-autoconfigure -B build
	oh-autobuild -B build
	if [ 'x$(OPK_BUILD_ARCH)' = 'x$(OPK_HOST_ARCH)' ]; then \
		oh-autobuild -B build -T check; \
	fi
	touch $@

install: build
	oh-autoinstall -B build
	rm -f dest/usr/lib/$(OPK_HOST_ARCH)/libffi.la
	oh-fixperms
	oh-strip -k
	oh-installfiles