From e9e40bedd9df9cfbf21cf5aca92304bfca35ac61 Mon Sep 17 00:00:00 2001 From: Juerg Haefliger Date: Mon, 14 Feb 2022 11:29:35 +0100 Subject: [PATCH] UBUNTU: SAUCE: Makefile: Remove inclusion of lbm header files We haven't produced linux-headers-lbm packages in ages so stop trying to include their header files. Signed-off-by: Juerg Haefliger Acked-by: Dimitri John Ledkov Acked-by: Tim Gardner Signed-off-by: Paolo Pisati --- Makefile | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Makefile b/Makefile index dd545622d86b..5388dcc28379 100644 --- a/Makefile +++ b/Makefile @@ -531,13 +531,6 @@ RUSTFLAGS_KERNEL = AFLAGS_KERNEL = LDFLAGS_vmlinux = -# Prefer linux-backports-modules -ifneq ($(KBUILD_SRC),) -ifneq ($(shell if test -e $(KBUILD_OUTPUT)/ubuntu-build; then echo yes; fi),yes) -UBUNTUINCLUDE := -I/usr/src/linux-headers-lbm-$(KERNELRELEASE) -endif -endif - # Use USERINCLUDE when you must reference the UAPI directories only. USERINCLUDE := \ -I$(srctree)/arch/$(SRCARCH)/include/uapi \ @@ -550,7 +543,6 @@ USERINCLUDE := \ # Use LINUXINCLUDE when you must reference the include/ directory. # Needed to be compatible with the O= option LINUXINCLUDE := \ - $(UBUNTUINCLUDE) \ -I$(srctree)/arch/$(SRCARCH)/include \ -I$(objtree)/arch/$(SRCARCH)/include/generated \ $(if $(building_out_of_srctree),-I$(srctree)/include) \