[openib-general] RFC: kill CFLAGS in makefiles?

Or Gerlitz ogerlitz at voltaire.com
Wed Mar 22 02:48:48 PST 2006


Michael S. Tsirkin wrote:
> Hi!
> I'd like to propose moving
> EXTRA_CFLAGS += -Idrivers/infiniband/include
> out of our makefiles in svn.
> 
> Users already must know about include/rdma in linux tree, so
> making that a softlink to svn for development is not an issue.
> 
> With the existing arrangement there are 2 places to look for for
> headers, which is not robust.
> 
> Comments?
> 

Please note that this scheme helps using files added for back and future 
(!) ports eg the mutex and the index things, so the trick is that having 
the code doing

#include <linux/backport.file.h>

and the svn having a directory

include/linux

and

drivers/infiniband softlinking to the svn tree

make things to work

Or.




More information about the general mailing list