From 11141125ade8def5af2e2e89cf01033e47fe3cf5 Mon Sep 17 00:00:00 2001 From: Juerg Haefliger Date: Mon, 14 Feb 2022 11:29:36 +0100 Subject: [PATCH] UBUNTU: SAUCE: Makefile: Fix compiler warnings When building out-of-tree (which we do for package builds), the compiler emits the following warning: cc1: warning: ubuntu/include: No such file or directory [-Wmissing-include-dirs] Fix that by (always) using the absolute path of the include directory. Signed-off-by: Juerg Haefliger Acked-by: Dimitri John Ledkov Acked-by: Tim Gardner Signed-off-by: Paolo Pisati --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ebfb7cb1bfd79..ed602447db64b 100644 --- a/Makefile +++ b/Makefile @@ -554,7 +554,7 @@ LINUXINCLUDE := \ $(USERINCLUDE) # UBUNTU: Include our third party driver stuff too -LINUXINCLUDE += -Iubuntu/include $(if $(KBUILD_SRC),-I$(srctree)/ubuntu/include) +LINUXINCLUDE += -I$(srctree)/ubuntu/include KBUILD_AFLAGS := -D__ASSEMBLY__ -fno-PIE KBUILD_CFLAGS := -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs \