Bootwrapper: Enable debug info on boot wrapper
PATCH 1/1 Bootwrapper: Enable debug info on boot wrapper
From: Grant Likely <[email protected]>
Add '-g' to BOOTCFLAGS if CONFIG_DEBUG_INFO is set.
---
arch/powerpc/boot/Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)
arch/powerpc/boot/Makefile +4 -0
@@ -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
Any comments on this one? Scott? David?
Cheers,
g.
Quoted 31 lines · Grant Likely
From: Grant Likely <[email protected]>
Add '-g' to BOOTCFLAGS if
CONFIG_DEBUG_INFOis set.Signed-off-by Grant Likely <[email protected]>---
arch/powerpc/boot/Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)arch/powerpc/boot/Makefile +4
-0@@ -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_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Signature · 4 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd. [email protected] (403) 399-0195
Quoted 1 line · Grant Likely
Any comments on this one? Scott? David?
It's fine with me.
-Scott
Quoted 1 line · Grant Likely
Any comments on this one? Scott? David?
Seems reasonable AFAICT.
Quoted 34 lines · Grant Likely
Quoted 31 lines
From: Grant Likely <[email protected]>
Add '-g' to BOOTCFLAGS if
CONFIG_DEBUG_INFOis set.Signed-off-by Grant Likely <[email protected]>---
arch/powerpc/boot/Makefile | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-)arch/powerpc/boot/Makefile +4
-0@@ -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_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson