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