aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-29 22:39:32 +0100
committerMiquel Sabaté Solà <mikisabate@gmail.com>2024-11-29 22:43:56 +0100
commit15cd6b372a01483df39220735b7f5935e5365296 (patch)
tree290cba0197fa568431c3f9b37e4e56ffe4108a21 /Makefile
parentd51665904faa31c39106e4b2afa7541615072e72 (diff)
downloadfbos-15cd6b372a01483df39220735b7f5935e5365296.tar.gz
fbos-15cd6b372a01483df39220735b7f5935e5365296.zip
Fix gdb target by not removing ELF executable
GDB actually needs the ELF executable to run a session with symbols loaded in. Hence, do not remove the `fbos.elf` file after calling `objcopy`. Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5c95c02..5b98a8d 100644
--- a/Makefile
+++ b/Makefile
@@ -79,7 +79,6 @@ all: clean $(IMAGE) usr test
$(IMAGE): $(KRNL)
$(E) " OBJCOPY " $@
$(Q) $(OBJCPY) $(KRNL) -O binary $(IMAGE)
- $(Q) rm $(KRNL)
.PHONY: $(KRNL)
$(KRNL): $(OBJ) $(LINKER).S