#!/bin/bash
# Copyright (c) 2000-2021 Synology Inc. All rights reserved.

strip_binary_sbin()
{
	[ "x$NOSTRIP" = "xNOSTRIP" ] && return

	if [ -d "$TmpInstDir/usr/sbin" ]; then
		find $TmpInstDir/usr/sbin -type f | xargs $STRIP
	fi
}

if ! checkPlatformFunction SYNO_FEA_NVME_SUPPORT; then
	SkipThisProject
	return
fi

make install-bin DESTDIR=$TmpInstDir PREFIX=/usr
strip_binary_sbin