Otherwise the compiler will complain about the lds file being included more than once as we include all the dependencies in the compile step.
Signed-off-by: Alex Bennée <alex.ben...@linaro.org> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f58b79e..7b9a5f4 100644 --- a/Makefile +++ b/Makefile @@ -75,7 +75,7 @@ all: usertest-a32 usertest-a64 usertest-t32 \ usertest-srcs = usertest.c semihosting.c semicall.S printf/printf.c systest-srcs = start.S string.c $(usertest-srcs) -microbit-systest-srcs = microbit.lds start-microbit.S string.c $(usertest-srcs) +microbit-systest-srcs = start-microbit.S string.c $(usertest-srcs) usertest-a32: $(usertest-srcs) $(A32GCC) --static -o $@ $^ -- 2.34.1