Skip to content

Commit e3a5905

Browse files
bulwahngregkh
authored andcommitted
pps: use cflags-y instead of EXTRA_CFLAGS
Commit f77bf01 ("kbuild: introduce ccflags-y, asflags-y and ldflags-y") deprecates use of EXTRA_CFLAGS in the kernel build. This has been cleaned up in the whole kernel tree long ago, but this one single place must have been missed. Replace the EXTRA_CFLAGS use by the common pattern for such debug flags. No functional change. Signed-off-by: Lukas Bulwahn <[email protected]> Acked-by: Rodolfo Giometti <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 8079772 commit e3a5905

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/pps/generators/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,4 @@
55

66
obj-$(CONFIG_PPS_GENERATOR_PARPORT) += pps_gen_parport.o
77

8-
ifeq ($(CONFIG_PPS_DEBUG),y)
9-
EXTRA_CFLAGS += -DDEBUG
10-
endif
8+
ccflags-$(CONFIG_PPS_DEBUG) := -DDEBUG

0 commit comments

Comments
 (0)