Skip to content

Commit 146dc30

Browse files
committed
perf tools: tools/include should come before tools/uapi/include
The next cset will grap const.h copies from the kernel to keep bits.h in sync as it started to use linux/const.h, that in turn includes uapi/linux/const.h. So now we have a file with the same name in tools/include and tools/uapi/include, and one includes the other, we need to have tools/include/uapi/ after tools/include/ for this to work, fix it. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-qzjqxa1wdrt51kwadyqawnuj@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 6e98bc3 commit 146dc30

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/perf/Makefile.config‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,9 +280,9 @@ endif
280280
INC_FLAGS += -I$(src-perf)/lib/include
281281
INC_FLAGS += -I$(src-perf)/util/include
282282
INC_FLAGS += -I$(src-perf)/arch/$(SRCARCH)/include
283-
INC_FLAGS += -I$(srctree)/tools/include/uapi
284283
INC_FLAGS += -I$(srctree)/tools/include/
285284
INC_FLAGS += -I$(srctree)/tools/arch/$(SRCARCH)/include/uapi
285+
INC_FLAGS += -I$(srctree)/tools/include/uapi
286286
INC_FLAGS += -I$(srctree)/tools/arch/$(SRCARCH)/include/
287287
INC_FLAGS += -I$(srctree)/tools/arch/$(SRCARCH)/
288288

0 commit comments

Comments
 (0)