Skip to contentSkip to conversation

bna: Replace deprecated compilation flag, EXTRA_CFLAGS with ccflags

PATCH In review KumarAmitMehta 2 participants 4 messages Oct 21, 2012 – Oct 22, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bna: Replace deprecated compilation flag, EXTRA_CFLAGS with ccflags

EXTRA_CFLAGS is deprecated and should be replaced with ccflags.

---
 drivers/net/ethernet/brocade/bna/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/brocade/bna/Makefile +1 -1
index 6027302..5df5308 100644
@@ -9,4 +9,4 @@ bna-objs := bnad.o bnad_ethtool.o bnad_debugfs.o bna_enet.o bna_tx_rx.o
 bna-objs += bfa_msgq.o bfa_ioc.o bfa_ioc_ct.o bfa_cee.o
 bna-objs += cna_fwimg.o
 
-EXTRA_CFLAGS := -Idrivers/net/bna
+ccflags-y := -Idrivers/net/bna
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 bna: Replace deprecated compilation flag, EXTRA_CFLAGS with ccflags

EXTRA_CFLAGS is deprecated and should be replaced with ccflags.

---
 drivers/net/ethernet/brocade/bna/Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/brocade/bna/Makefile +1 -1
index 6027302..5df5308 100644
@@ -9,4 +9,4 @@ bna-objs := bnad.o bnad_ethtool.o bnad_debugfs.o bna_enet.o bna_tx_rx.o
 bna-objs += bfa_msgq.o bfa_ioc.o bfa_ioc_ct.o bfa_cee.o
 bna-objs += cna_fwimg.o
 
-EXTRA_CFLAGS := -Idrivers/net/bna
+ccflags-y := -Idrivers/net/bna
Signature · 1 line
1.7.9.5
Acked-by on v1 1/1
#3 lore raw
In reply to KumarAmitMehta

Thanks Amit!

Quoted 11 lines

-----Original Message-----
From: KumarAmitMehta [mailto:[email protected]]
Sent: Sunday, October 21, 2012 11:25 AM
To: [email protected]
Cc: Rasesh Mody; KumarAmitMehta
Subject: [PATCH] bna: Replace deprecated compilation flag, EXTRA_CFLAGS with ccflags

EXTRA_CFLAGS is deprecated and should be replaced with ccflags.