summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/platforms/pseries/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/platforms/pseries/Makefile')
-rw-r--r--arch/powerpc/platforms/pseries/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/pseries/Makefile b/arch/powerpc/platforms/pseries/Makefile
index bdae04bb7a0..bd2593ed28d 100644
--- a/arch/powerpc/platforms/pseries/Makefile
+++ b/arch/powerpc/platforms/pseries/Makefile
@@ -2,6 +2,10 @@ ifeq ($(CONFIG_PPC64),y)
EXTRA_CFLAGS += -mno-minimal-toc
endif
+ifeq ($(CONFIG_PPC_PSERIES_DEBUG),y)
+EXTRA_CFLAGS += -DDEBUG
+endif
+
obj-y := lpar.o hvCall.o nvram.o reconfig.o \
setup.o iommu.o ras.o rtasd.o \
firmware.o power.o