netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/1] bna: remove obsolete use of EXTRA_CFLAGS
@ 2015-06-09 12:24 Jiri Slaby
  2015-06-11  4:59 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby @ 2015-06-09 12:24 UTC (permalink / raw)
  To: davem; +Cc: rasesh.mody, netdev, linux-kernel, Jiri Slaby

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 <jslaby@suse.cz>
---
 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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 1/1] bna: remove obsolete use of EXTRA_CFLAGS
  2015-06-09 12:24 [PATCH 1/1] bna: remove obsolete use of EXTRA_CFLAGS Jiri Slaby
@ 2015-06-11  4:59 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2015-06-11  4:59 UTC (permalink / raw)
  To: jslaby; +Cc: rasesh.mody, netdev, linux-kernel

From: Jiri Slaby <jslaby@suse.cz>
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 <jslaby@suse.cz>

Applied to net-next, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-11  4:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09 12:24 [PATCH 1/1] bna: remove obsolete use of EXTRA_CFLAGS Jiri Slaby
2015-06-11  4:59 ` David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).