diff options
author | Geoff Levand <geoff@infradead.org> | 2015-03-18 23:04:03 +0000 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2015-03-19 11:17:56 +0900 |
commit | 835620406833168b2d0104e57779ef0a31101225 (patch) | |
tree | e0438e3fb12a788a84f3aa0815c55e867d9f9be7 /purgatory | |
parent | e42fc55e10fbbcc1762b9aabd5c7c102ca1042bf (diff) | |
download | kexec-tools-835620406833168b2d0104e57779ef0a31101225.tar.gz |
purgatory: Generate symbol file
To aid in debugging purgatory update its makefile to generate a
stand alone symbol file that can me loaded by a debugger.
Signed-off-by: Geoff Levand <geoff@infradead.org>
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'purgatory')
-rw-r--r-- | purgatory/Makefile | 5 |
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)" |