aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pps
diff options
context:
space:
mode:
authorLukas Bulwahn <lukas.bulwahn@gmail.com>2024-03-06 13:05:15 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-03-07 21:51:39 +0000
commite3a59056a655975868863a80fc8c05cb25e3b866 (patch)
treea6d678e147e16669fc6388dd25d2b504e6596946 /drivers/pps
parent807977260ae4de1cf39cfc55713fc0bc56566f7a (diff)
downloadlinux-e3a59056a655975868863a80fc8c05cb25e3b866.tar.gz
pps: use cflags-y instead of EXTRA_CFLAGS
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 <lukas.bulwahn@gmail.com> Acked-by: Rodolfo Giometti <giometti@enneenne.com> Link: https://lore.kernel.org/r/20240306120515.15711-1-lukas.bulwahn@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/pps')
-rw-r--r--drivers/pps/generators/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pps/generators/Makefile b/drivers/pps/generators/Makefile
index 2d56dd0495d59..2589fd0f2481e 100644
--- a/drivers/pps/generators/Makefile
+++ b/drivers/pps/generators/Makefile
@@ -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