Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 133f1128 authored by Tracey Dent's avatar Tracey Dent Committed by Rafael J. Wysocki
Browse files

PM: Use proper ccflag flag in kernel/power/Makefile



Use the ccflags-$ flag instead of EXTRA_CFLAGS because EXTRA_CFLAGS is
deprecated and should now be switched.  According to
(documentation/kbuild/makefiles.txt).

Signed-off-by: default avatarTracey Dent <tdent48227@gmail.com>
Signed-off-by: default avatarRafael J. Wysocki <rjw@sisk.pl>
parent 6675bc05
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line

ifeq ($(CONFIG_PM_DEBUG),y)
EXTRA_CFLAGS	+=	-DDEBUG
endif
ccflags-$(CONFIG_PM_DEBUG)	:=	-DDEBUG

obj-$(CONFIG_PM)		+= main.o
obj-$(CONFIG_PM_SLEEP)		+= console.o