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

if [ "$PLATFORM_FAMILY" != "SYNOPLAT_F_X86_64" ]; then
	SkipThisProject
	return
fi

install -D -m755 wrmsr ${TmpInstDir}/usr/bin/wrmsr
install -D -m755 rdmsr ${TmpInstDir}/usr/bin/rdmsr

if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
	${STRIP} ${TmpInstDir}/usr/bin/wrmsr
	${STRIP} ${TmpInstDir}/usr/bin/rdmsr
fi

