#!/bin/bash

################################################################################
#
# Driver for Xilinx network controllers and boards
# Copyright 2021 Xilinx Inc.
#
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 as published
# by the Free Software Foundation, incorporated herein by reference.
#
################################################################################

module=${1}
VAR=${2}
MAJOR=` echo $VAR | cut -f 1 -d "-" `
VAR=${VAR##$MAJOR"-"}
MINOR=` echo $VAR | cut -f 1 -d "." `
kver=$MAJOR-$MINOR.*
echo "override $module $kver weak-updates/xilinx-efct"
