mirror of
https://github.com/LIV2/a4091-software.git
synced 2025-12-05 22:12:44 +00:00
Add conforming CDFS ID string
If we are not loading CDFS through the resident rt_Init code, we need to provide our own creator name. Make it follow the conventions of the other filesystem drivers.
This commit is contained in:
parent
58de877be8
commit
74d5d1720d
3
Makefile
3
Makefile
@ -1,6 +1,7 @@
|
||||
NOW := $(shell date '+%Y-%m-%d %H:%M:%S')
|
||||
DATE := $(firstword $(NOW))
|
||||
TIME := $(lastword $(NOW))
|
||||
ADATE := $(shell date '+%-d.%-m.%Y')
|
||||
|
||||
OBJDIR := objs
|
||||
ROM := a4091.rom
|
||||
@ -36,7 +37,7 @@ NDK_PATH := $(firstword $(wildcard $(NDK_PATHS)))
|
||||
|
||||
# CFLAGS for a4091.device
|
||||
#
|
||||
CFLAGS := -DBUILD_DATE=\"$(DATE)\" -DBUILD_TIME=\"$(TIME)\"
|
||||
CFLAGS := -DBUILD_DATE=\"$(DATE)\" -DBUILD_TIME=\"$(TIME)\" -DAMIGA_DATE=\"$(ADATE)\"
|
||||
CFLAGS += -D_KERNEL -DPORT_AMIGA
|
||||
#DEBUG += -DDEBUG # Show basic debug
|
||||
#DEBUG += -DDEBUG_SYNC # Show Synchronous SCSI debug
|
||||
|
||||
@ -63,7 +63,7 @@ void parse_romfiles(void)
|
||||
}
|
||||
}
|
||||
|
||||
const char cdfs_id_string[] = "CDFileSystem (A4091)";
|
||||
extern const char cdfs_id_string[];
|
||||
|
||||
int add_cdromfilesystem(void)
|
||||
{
|
||||
|
||||
@ -12,3 +12,9 @@ const char * const version_str =
|
||||
XSTR(DEVICE_REVISION) " (" BUILD_DATE ")"
|
||||
/* format: "name version.revision (yyyy-mm-dd)" */
|
||||
const char device_id_string[] = DEVICE_ID_STRING;
|
||||
|
||||
#define CDFS_ID_STRING "CDFileSystem " XSTR(DEVICE_VERSION) "." \
|
||||
XSTR(DEVICE_REVISION) " (" AMIGA_DATE ")\r\n"
|
||||
/* format: "name version.revision (dd.mm.yyyy)" */
|
||||
const char cdfs_id_string[] = CDFS_ID_STRING;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user