summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-03-08 12:00:10 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-03-10 14:50:16 +0100
commitf4491d7b0404191a143aae3ee93fe04d396b3dea (patch)
treea175755560e318ef0b9d9649643cd66fd121c685 /Makefile
parent084df155d3f5e4991f675a3e7a707e4eafbd1cd8 (diff)
downloadbarebox-f4491d7b0404191a143aae3ee93fe04d396b3dea.tar.gz
barebox-f4491d7b0404191a143aae3ee93fe04d396b3dea.tar.xz
kallsyms/printk: enable symbol printing support (%pS)
With this kallsyms finally start working at least on ARM. This enables us resolving addresses into symbols which is particularly useful in combination with stack unwinding support. As kallsyms now compile and work we can remove the depends on BROKEN. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1a4a54e657..55c83cc1c2 100644
--- a/Makefile
+++ b/Makefile
@@ -599,7 +599,7 @@ endef
# Generate .S file with all kernel symbols
quiet_cmd_kallsyms = KSYM $@
- cmd_kallsyms = $(NM) -g -n $< | $(KALLSYMS) > $@
+ cmd_kallsyms = $(NM) -n $< | $(KALLSYMS) --all-symbols > $@
.tmp_kallsyms1.o .tmp_kallsyms2.o .tmp_kallsyms3.o: %.o: %.S scripts FORCE
$(call if_changed_dep,as_o_S)