summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2011-01-14 06:12:46 -0800
committerMichal Marek <mmarek@suse.cz>2011-03-17 14:05:35 +0100
commit26a082dc5334ee003167bb9feeee681c150e5b11 (patch)
tree1c83ce356f7ec3110741596e4fdd98d1de433cb4
parent5a8b7cdc7424d63467cff1d20461acf48ffcb72f (diff)
downloadop-kernel-dev-26a082dc5334ee003167bb9feeee681c150e5b11.zip
op-kernel-dev-26a082dc5334ee003167bb9feeee681c150e5b11.tar.gz
pps: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r--drivers/pps/clients/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/pps/clients/Makefile b/drivers/pps/clients/Makefile
index 42517da..4feb7e9 100644
--- a/drivers/pps/clients/Makefile
+++ b/drivers/pps/clients/Makefile
@@ -6,6 +6,4 @@ obj-$(CONFIG_PPS_CLIENT_KTIMER) += pps-ktimer.o
obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
obj-$(CONFIG_PPS_CLIENT_PARPORT) += pps_parport.o
-ifeq ($(CONFIG_PPS_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_PPS_DEBUG) := -DDEBUG
OpenPOWER on IntegriCloud