From: Alan Cox Date: Thu, 1 Sep 2016 21:45:54 +0000 (+0100) Subject: makeversion: obsolete X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=cb2fcb6b57a0a86d3f5643cc96b2ba8890934b6d;p=FUZIX.git makeversion: obsolete --- diff --git a/Kernel/makeversion b/Kernel/makeversion deleted file mode 100755 index ca4a24df..00000000 --- a/Kernel/makeversion +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh -cat < version.c -#include "kernel.h" -#include "version.h" - -/* Format is version/sysname/release/system */ -/* pack version first so we can use uname_str as a printf target */ -struct sysinfoblk sysinfo = { - sizeof(struct sysinfoblk), - CONFIG_BANKS, - UFTSIZE, - PTABSIZE, - TICKSPERSEC, - 0, - 0, -#ifdef CONFIG_PROFIL - CONF_PROFIL | -#endif -#ifdef CONFIG_LEVEL_2 - CONF_LEVEL_2 | -#endif - 0 -}; -/* Must follow immediately afterwards */ -/* Quoting to work around cc65 bug */ -/* Must not be const .. or gets packed elsewhere not after sysinfo */ -char uname_str[] = "$1\0""Fuzix\0""$2\0""$3"; -EOF -X=$(echo "$1XFuzix$2X$3X"|wc -c) -echo "const uint8_t uname_len = "$X";" >>version.c - -