From 446d75a972abe576ae34994559fb31ce34d634f4 Mon Sep 17 00:00:00 2001 From: Hannes Bredberg Date: Sun, 3 Jul 2022 01:41:22 +0200 Subject: [PATCH] Add architecture to bootloader version string --- src/sabaton.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sabaton.zig b/src/sabaton.zig index bc60340..0643214 100644 --- a/src/sabaton.zig +++ b/src/sabaton.zig @@ -88,7 +88,7 @@ pub const Stivale2tag = packed struct { const InfoStruct = struct { brand: [64]u8 = pad_str("Sabaton - Forged in Valhalla by the hammer of Thor", 64), - version: [64]u8 = pad_str(@import("build_options").board_name ++ " - " ++ @tagName(@import("builtin").mode), 64), + version: [64]u8 = pad_str(@tagName(arch) ++ " " ++ @import("build_options").board_name ++ " - " ++ @tagName(@import("builtin").mode), 64), tags: ?*Stivale2tag = null, };