From 66c54de785db96e653daae647d81c4a002322efb Mon Sep 17 00:00:00 2001 From: Michal Sieron Date: Mon, 16 Aug 2021 16:17:47 +0200 Subject: [PATCH] Move sim_debug to the BIOS directory --- litex/soc/software/bios/Makefile | 1 + litex/soc/software/bios/cmds/cmd_bios.c | 2 +- litex/soc/software/{libmisc => bios}/sim_debug.c | 0 litex/soc/software/{libmisc => bios}/sim_debug.h | 0 litex/soc/software/libmisc/Makefile | 3 +-- 5 files changed, 3 insertions(+), 3 deletions(-) rename litex/soc/software/{libmisc => bios}/sim_debug.c (100%) rename litex/soc/software/{libmisc => bios}/sim_debug.h (100%) diff --git a/litex/soc/software/bios/Makefile b/litex/soc/software/bios/Makefile index 3e60247bf..dafd44c35 100755 --- a/litex/soc/software/bios/Makefile +++ b/litex/soc/software/bios/Makefile @@ -19,6 +19,7 @@ OBJECTS = isr.o \ cmd_liteeth.o \ cmd_litesdcard.o \ cmd_litesata.o \ + sim_debug.o \ main.o ifneq "$(or $(TERM_NO_COMPLETE),$(TERM_MINI))" "" diff --git a/litex/soc/software/bios/cmds/cmd_bios.c b/litex/soc/software/bios/cmds/cmd_bios.c index e9869e3a1..fead02fd1 100644 --- a/litex/soc/software/bios/cmds/cmd_bios.c +++ b/litex/soc/software/bios/cmds/cmd_bios.c @@ -4,13 +4,13 @@ #include #include -#include #include #include #include "../command.h" #include "../helpers.h" +#include "../sim_debug.h" /** * Command "help" diff --git a/litex/soc/software/libmisc/sim_debug.c b/litex/soc/software/bios/sim_debug.c similarity index 100% rename from litex/soc/software/libmisc/sim_debug.c rename to litex/soc/software/bios/sim_debug.c diff --git a/litex/soc/software/libmisc/sim_debug.h b/litex/soc/software/bios/sim_debug.h similarity index 100% rename from litex/soc/software/libmisc/sim_debug.h rename to litex/soc/software/bios/sim_debug.h diff --git a/litex/soc/software/libmisc/Makefile b/litex/soc/software/libmisc/Makefile index 94ba97dfc..c1eed3599 100755 --- a/litex/soc/software/libmisc/Makefile +++ b/litex/soc/software/libmisc/Makefile @@ -2,8 +2,7 @@ include ../include/generated/variables.mak include $(SOC_DIRECTORY)/software/common.mak OBJECTS = \ - exception.o \ - sim_debug.o + exception.o all: libmisc.a