From fe4628fc3044bb2d21ee49f29ae1dba546db2453 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Thu, 3 Mar 2022 23:17:16 -0500 Subject: [PATCH] Fix Red Multiboot Firmware Root Redirect Exclude bootloaders Change-Id: Id26120df0a047711efe49a43917dfec4c25107cb --- firmware/include/dircache_redirect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/include/dircache_redirect.h b/firmware/include/dircache_redirect.h index dfab6fd5a3..a781d6ee76 100644 --- a/firmware/include/dircache_redirect.h +++ b/firmware/include/dircache_redirect.h @@ -25,7 +25,7 @@ #include "dir.h" #include "dircache.h" -#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) +#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) && !defined(BOOTLOADER) #include "rb-loader.h" #include "bootdata.h" #include "crc32.h" @@ -145,7 +145,7 @@ static inline void volume_onmount_internal(IF_MV_NONVOID(int volume)) const char *path = PATH_ROOTSTR; #endif -#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) +#if defined(HAVE_MULTIBOOT) && !defined(SIMULATOR) && !defined(BOOTLOADER) static char rtpath[VOL_MAX_LEN+2] = RB_ROOT_CONTENTS_DIR; static bool redirected = false; int boot_volume = 0;