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

if ! checkPlatformFunction SYNO_FEA_QUALCOMM_COMMON; then
	SkipThisProject
	return;
fi
case "$BUILD_TARGET" in
	QUALCOMM_DAKOTA)
		;;
	*)
		SkipThisProject
		return
		;;
esac

MOD_DST=${TmpInstDir}/lib/modules

MOD_LIST="
	essedma.ko
"
for each in ${MOD_LIST}; do
	install -D -m644 ${each} ${MOD_DST}/$(basename ${each})
	if [ "x$NOSTRIP" != "xNOSTRIP" ]; then
		${STRIP} -d ${MOD_DST}/$(basename ${each})
	fi
done
# vim:ft=sh
