Skip to content

Commit

Permalink
tegra: fix in-tree compilation for headers
Browse files Browse the repository at this point in the history
Instructions for TRACE_INCLUDE_FILE in include/trace/define_trace.h say
"the path is relative to define_trace.h, not the file including it".
Fix in-tree compilation by making the path relative to define_trace.h.
  • Loading branch information
AbandonedCart committed Nov 28, 2014
1 parent 842b25a commit 8544599
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/staging/ozwpan/ozeventtrace.h
Expand Up @@ -213,7 +213,7 @@ DEFINE_EVENT(debug_msg, info_msg_evt,
#endif /*_OZEVENTTRACE_H*/

#undef TRACE_INCLUDE_PATH
#define TRACE_INCLUDE_PATH .
#define TRACE_INCLUDE_PATH ../../drivers/staging/ozwpan/
#undef TRACE_INCLUDE_FILE
#define TRACE_INCLUDE_FILE ozeventtrace
#include <trace/define_trace.h>

0 comments on commit 8544599

Please sign in to comment.