diff mbox series

[SRU,J,devel,1/2] UBUNTU: SAUCE: Makefile: Remove inclusion of lbm header files

Message ID 20220214102936.80935-2-juergh@canonical.com
State New
Headers show
Series Makefile: Cleanup Ubuntu modifications | expand

Commit Message

Juerg Haefliger Feb. 14, 2022, 10:29 a.m. UTC
We haven't produced linux-headers-lbm packages in ages so stop trying
to include their header files.

Signed-off-by: Juerg Haefliger <juergh@canonical.com>
---
 Makefile | 8 --------
 1 file changed, 8 deletions(-)
diff mbox series

Patch

diff --git a/Makefile b/Makefile
index 20dc3216fea9..db3d9c4a5f58 100644
--- a/Makefile
+++ b/Makefile
@@ -490,13 +490,6 @@  CFLAGS_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 \
@@ -509,7 +502,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) \