Detecting system includes in drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've run into a problem where I have a driver C file and a header
file for that driver that are in the same directory. The C file
has an include like 

    #include <driver.h>

instead of

    #include "driver.h"

and building this in tree fails, but building it out of tree with
the O= option doesn't fail. Is there anyway that building out of
tree can be made to fail as well? The difference seems to be that
we include the directory for the drivers/ path when compiling the
C file out of tree, but we don't do that when building in tree.

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux