All of lore.kernel.org
 help / color / mirror / Atom feed
* [merged] cxgbi-fix-build-with-extra_cflags.patch removed from -mm tree
@ 2015-11-10 20:33 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2015-11-10 20:33 UTC (permalink / raw)
  To: jslaby, James.Bottomley, jthumshirn, mm-commits


The patch titled
     Subject: drivers/scsi/cxgbi: fix build with EXTRA_CFLAGS
has been removed from the -mm tree.  Its filename was
     cxgbi-fix-build-with-extra_cflags.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Jiri Slaby <jslaby@suse.cz>
Subject: drivers/scsi/cxgbi: fix build with EXTRA_CFLAGS

EXTRA_CFLAGS are intended to be used on the command line, not by Kbuild. 
In case of cxgbi drivers, use of EXTRA_CFLAGS results in a compilation
failure:

drivers/scsi/cxgbi/cxgb4i/cxgb4i.c:24:21: fatal error: t4_regs.h: No such file or directory

when building like:

$ make drivers/scsi/cxgbi/ EXTRA_CFLAGS=-Wwhatever

Use ccflags-y instead of EXTRA_CFLAGS.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Cc: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 drivers/scsi/cxgbi/cxgb3i/Kbuild |    2 +-
 drivers/scsi/cxgbi/cxgb4i/Kbuild |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/scsi/cxgbi/cxgb3i/Kbuild~cxgbi-fix-build-with-extra_cflags drivers/scsi/cxgbi/cxgb3i/Kbuild
--- a/drivers/scsi/cxgbi/cxgb3i/Kbuild~cxgbi-fix-build-with-extra_cflags
+++ a/drivers/scsi/cxgbi/cxgb3i/Kbuild
@@ -1,3 +1,3 @@
-EXTRA_CFLAGS += -I$(srctree)/drivers/net/ethernet/chelsio/cxgb3
+ccflags-y += -I$(srctree)/drivers/net/ethernet/chelsio/cxgb3
 
 obj-$(CONFIG_SCSI_CXGB3_ISCSI) += cxgb3i.o
diff -puN drivers/scsi/cxgbi/cxgb4i/Kbuild~cxgbi-fix-build-with-extra_cflags drivers/scsi/cxgbi/cxgb4i/Kbuild
--- a/drivers/scsi/cxgbi/cxgb4i/Kbuild~cxgbi-fix-build-with-extra_cflags
+++ a/drivers/scsi/cxgbi/cxgb4i/Kbuild
@@ -1,3 +1,3 @@
-EXTRA_CFLAGS += -I$(srctree)/drivers/net/ethernet/chelsio/cxgb4
+ccflags-y += -I$(srctree)/drivers/net/ethernet/chelsio/cxgb4
 
 obj-$(CONFIG_SCSI_CXGB4_ISCSI) += cxgb4i.o
_

Patches currently in -mm which might be from jslaby@suse.cz are



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-10 20:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-11-10 20:33 [merged] cxgbi-fix-build-with-extra_cflags.patch removed from -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.