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) \