[PATCH 1/1] bna: remove obsolete use of EXTRA_CFLAGS

Subsystems: brocade bna 10 gigabit ethernet driver, networking drivers, the rest

STALE4072d

2 messages, 2 authors, 2015-06-11 · open the first message on its own page

[PATCH 1/1] bna: remove obsolete use of EXTRA_CFLAGS

From: Jiri Slaby <hidden>
Date: 2015-06-09 12:25:16

EXTRA_CFLAGS should be used on the command line only.

Since EXTRA_CFLAGS here add only a non-existant path to compiler
include paths (by -I), remove EXTRA_CFLAGS completely.

Signed-off-by: Jiri Slaby <redacted>
---
 drivers/net/ethernet/brocade/bna/Makefile | 2 --
 1 file changed, 2 deletions(-)
diff --git a/drivers/net/ethernet/brocade/bna/Makefile b/drivers/net/ethernet/brocade/bna/Makefile
index 6e10b99733a2..8584abcf5366 100644
--- a/drivers/net/ethernet/brocade/bna/Makefile
+++ b/drivers/net/ethernet/brocade/bna/Makefile
@@ -9,5 +9,3 @@ obj-$(CONFIG_BNA) += bna.o
 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
-- 
2.4.2

Re: [PATCH 1/1] bna: remove obsolete use of EXTRA_CFLAGS

From: David Miller <davem@davemloft.net>
Date: 2015-06-11 04:59:22

From: Jiri Slaby <redacted>
Date: Tue,  9 Jun 2015 14:24:43 +0200
EXTRA_CFLAGS should be used on the command line only.

Since EXTRA_CFLAGS here add only a non-existant path to compiler
include paths (by -I), remove EXTRA_CFLAGS completely.

Signed-off-by: Jiri Slaby <redacted>
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help