diff options
| author | Simon Rettberg | 2026-01-28 12:53:53 +0100 |
|---|---|---|
| committer | Simon Rettberg | 2026-01-28 12:53:53 +0100 |
| commit | 8e82785c584dc13e20f9229decb95bd17bbe9cd1 (patch) | |
| tree | a8b359e59196be5b2e3862bed189107f4bc9975f /src/core/version.c | |
| parent | Merge branch 'master' into openslx (diff) | |
| parent | [prefix] Make unlzma.S compatible with 386 class CPUs (diff) | |
| download | ipxe-openslx.tar.gz ipxe-openslx.tar.xz ipxe-openslx.zip | |
Merge branch 'master' into openslxopenslx
Diffstat (limited to 'src/core/version.c')
| -rw-r--r-- | src/core/version.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/core/version.c b/src/core/version.c index 22f444065..75f3160db 100644 --- a/src/core/version.c +++ b/src/core/version.c @@ -22,6 +22,7 @@ */ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); +FILE_SECBOOT ( PERMITTED ); /** @file * @@ -49,16 +50,16 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); FEATURE_VERSION ( VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH ); /** Build timestamp (generated by linker) */ -extern char _build_timestamp[]; +extern unsigned long ABS_SYMBOL ( _build_timestamp ); /** Build ID (generated by linker) */ -extern char _build_id[]; +extern unsigned long ABS_SYMBOL ( _build_id ); /** Build timestamp */ -unsigned long build_timestamp = ( ( unsigned long ) _build_timestamp ); +unsigned long build_timestamp = ABS_VALUE_INIT ( _build_timestamp ); /** Build ID */ -unsigned long build_id = ( ( unsigned long ) _build_id ); +unsigned long build_id = ABS_VALUE_INIT ( _build_id ); /** Product major version */ const int product_major_version = VERSION_MAJOR; |
