int SysFS_Install(char **Options)
{
gSysFS_Version_Kernel.Node.Size = strlen(gsBuildInfo);
- gSysFS_Version_Kernel.Node.ImplPtr = gsBuildInfo;
+ gSysFS_Version_Kernel.Node.ImplPtr = (void*)gsBuildInfo;
DevFS_AddDevice( &gSysFS_DriverInfo );
return MODULE_ERR_OK;
@echo "const char gsKernelVersion[] = \"$(ACESS_VERSION)\";" >> $@
@echo "const char gsGitHash[] = \""`git log -n 1 | head -n 1 | awk '{print $$2}'`"\";" >> $@
@echo "const int giBuildNumber = $(BUILD_NUM);" >> $@
+ @echo "const char gsBuildInfo[] = \"Acess2 DiskTool v$(ACESS_VERSION)\";" >> $@
$(BUILDINFO_OBJ): $(BUILDINFO_SRC)
@echo [CC] -o $@
@$(CC) -o $@ -c $< $(CFLAGS) $(CPPFLAGS)
extern char __buildnum[];
#define BUILD_NUM ((int)(Uint)&__buildnum)
extern const char gsGitHash[];
+extern const char gsBuildInfo[];
#define BITS 32
#define NULL ((void*)0)