From 3e5b5847e31e607c78bc177e381e1ce16212d830 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 56a549185b66e..ebfb7cb1bfd79 100644 --- a/Makefile +++ b/Makefile @@ -535,13 +535,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 \ @@ -554,7 +547,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) \