You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
543 B

# SPDX-License-Identifier: GPL-2.0
#!/usr/bin/perl -s
use POSIX qw(strftime);
use File::Basename;
$skw_branch = "skw6160_mp";
$skw_version = "2.0.240304.e998adb";
$output = shift;
open (OUTPUT, ">$output") || die "$0 : can't open $output for writing\n";
print OUTPUT "#ifndef __SKW_VERSION_H__\n";
print OUTPUT "#define __SKW_VERSION_H__\n";
print OUTPUT "\n";
print OUTPUT "#define SKW_BRANCH \"$skw_branch\"\n";
print OUTPUT "#define SKW_VERSION \"$skw_version\"\n";
print OUTPUT "\n";
print OUTPUT "#endif";
close (OUTPUT);