From 8295d58f253dc08d0b8c513a226f3c3d6e99fb95 Mon Sep 17 00:00:00 2001 From: Grant Likely Date: Thu, 4 Oct 2007 14:05:01 +1000 Subject: [PATCH] --- yaml --- r: 67528 b: refs/heads/master c: 105c13dd7a29fe2d18643b851d7f1c1cbc4315ed h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/powerpc/boot/Makefile | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 89186127adb7..950f779d6993 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6ee0d9f744d4417f20aabd9a4e40fac93f2c9d76 +refs/heads/master: 105c13dd7a29fe2d18643b851d7f1c1cbc4315ed diff --git a/trunk/arch/powerpc/boot/Makefile b/trunk/arch/powerpc/boot/Makefile index f3f7ce3d79a5..18e32719d0ed 100644 --- a/trunk/arch/powerpc/boot/Makefile +++ b/trunk/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