Re: [PATCH -resend_2 1/1] cxgbi: fix build with EXTRA_CFLAGS

2015-10-06 Thread Johannes Thumshirn
Jiri Slaby writes: > 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:

[PATCH -resend_2 1/1] cxgbi: fix build with EXTRA_CFLAGS

2015-10-06 Thread Jiri Slaby
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_