projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ee0d9f
)
[POWERPC] Enable debug info on boot wrapper
author
Grant Likely
<grant.likely@secretlab.ca>
Thu, 4 Oct 2007 04:05:01 +0000
(14:05 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Tue, 9 Oct 2007 11:01:55 +0000
(21:01 +1000)
Add '-g' to BOOTCFLAGS if CONFIG_DEBUG_INFO is set.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/Makefile
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/boot/Makefile
b/arch/powerpc/boot/Makefile
index f3f7ce3d79a5e98e48ff1dfbd56d4854b0abb14c..18e32719d0ed4544202bae47cc9c1361e6116649 100644
(file)
--- a/
arch/powerpc/boot/Makefile
+++ b/
arch/powerpc/boot/Makefile
@@
-25,6
+25,10
@@
BOOTCFLAGS := -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs \
-isystem $(shell $(CROSS32CC) -print-file-name=include)
BOOTAFLAGS := -D__ASSEMBLY__ $(BOOTCFLAGS) -traditional -nostdinc
+ifdef CONFIG_DEBUG_INFO
+BOOTCFLAGS += -g
+endif
+
ifeq ($(call cc-option-yn, -fstack-protector),y)
BOOTCFLAGS += -fno-stack-protector
endif