diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2023-01-05 17:08:38 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2023-01-05 17:08:38 +0000 |
commit | d5327c3730cdb3bb626b19e1c60a8ea55b1c575e (patch) | |
tree | 5ca3005aa265ea2865ca64b796f07cfa0ef8dbab | |
parent | 7bd422bcb4650adfa31dca0bbba6e74279850ed0 (diff) |
Makefile: Add 'clean' target
Add a 'clean' target that removes the generated binaries;
and make 'all' actually build all the binaries including
the usertest-a32-hlt and usertest-t32-hlt ones.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r-- | Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -66,12 +66,19 @@ QEMU_AARCH64 = $(QEMU_BUILDDIR)/qemu-aarch64 $(USRGDB) QEMU_SYSTEM_ARM = $(SYSTIMEOUT) $(QEMU_BUILDDIR)/qemu-system-arm $(SYSGDB) QEMU_SYSTEM_AARCH64 = $(SYSTIMEOUT) $(QEMU_BUILDDIR)/qemu-system-aarch64 $(SYSGDB) -all: usertest-a32 usertest-a64 usertest-t32 \ +BINS = usertest-a32 usertest-t32 \ + usertest-a32-hlt usertest-t32-hlt \ + usertest-a64 \ systest-a32.axf systest-t32.axf \ systest-a32-hlt.axf systest-t32-hlt.axf \ systest-t32-bkpt.axf \ systest-a64.axf +all: $(BINS) + +clean: + rm -rf $(BINS) + usertest-srcs = usertest.c semihosting.c semicall.S printf/printf.c systest-srcs = start.S string.c $(usertest-srcs) |