summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--purgatory/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/purgatory/Makefile b/purgatory/Makefile
index 1c7d2c0..6b17e71 100644
--- a/purgatory/Makefile
+++ b/purgatory/Makefile
@@ -63,10 +63,9 @@ $(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\
$(PURGATORY): $(PURGATORY_OBJS)
$(MKDIR) -p $(@D)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
-
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@.sym $^
# $(LD) $(LDFLAGS) $(EXTRA_LDFLAGS) --no-undefined -e purgatory_start -r -o $@ $(PURGATORY_OBJS) $(UTIL_LIB)
- $(STRIP) --strip-debug $@
+ $(STRIP) --strip-debug -o $@ $@.sym
echo::
@echo "PURGATORY_SRCS $(PURGATORY_SRCS)"