* Detecting system includes in drivers
@ 2017-07-20 18:44 Stephen Boyd
0 siblings, 0 replies; only message in thread
From: Stephen Boyd @ 2017-07-20 18:44 UTC (permalink / raw)
To: linux-kbuild; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-07-20 18:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 18:44 Detecting system includes in drivers Stephen Boyd
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox