#!/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