]> Git Repo - J-linux.git/commitdiff
pps: use cflags-y instead of EXTRA_CFLAGS
authorLukas Bulwahn <[email protected]>
Wed, 6 Mar 2024 12:05:15 +0000 (13:05 +0100)
committerGreg Kroah-Hartman <[email protected]>
Thu, 7 Mar 2024 21:51:39 +0000 (21:51 +0000)
Commit f77bf01425b1 ("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]>
drivers/pps/generators/Makefile

index 2d56dd0495d590a13213ea89fe1a8af18c95d323..2589fd0f2481e5727d5080addc64fd2962b5758f 100644 (file)
@@ -5,6 +5,4 @@
 
 obj-$(CONFIG_PPS_GENERATOR_PARPORT) += pps_gen_parport.o
 
-ifeq ($(CONFIG_PPS_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_PPS_DEBUG) := -DDEBUG
This page took 0.051003 seconds and 4 git commands to generate.