]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
Remove references to dead make variable LINUX_INCLUDE
authorPaul Bolle <pebolle@tiscali.nl>
Thu, 3 Nov 2016 08:53:50 +0000 (09:53 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 14 Dec 2016 09:54:28 +0000 (10:54 +0100)
Commit 4fd06960f120 ("Use the new x86 setup code for i386") introduced a
reference to the make variable LINUX_INCLUDE. That reference got moved
around a bit and copied twice and now there are three references to it.

There has never been a definition of that variable. (Presumably that is
because it started out as a mistyped reference to LINUXINCLUDE.) So this
reference has always been an empty string. Let's remove it before it
spreads any further.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/s390/boot/compressed/Makefile
arch/x86/boot/compressed/Makefile
drivers/firmware/efi/libstub/Makefile

index 0daa070d6c9dbb58767e931530ad0f9d023ca683..6bd2c9022be388b08d2d55690ba7e837ebca60bb 100644 (file)
@@ -10,7 +10,7 @@ targets       := vmlinux.lds vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2
 targets += vmlinux.bin.xz vmlinux.bin.lzma vmlinux.bin.lzo vmlinux.bin.lz4
 targets += misc.o piggy.o sizes.h head.o
 
-KBUILD_CFLAGS := -m64 -D__KERNEL__ $(LINUX_INCLUDE) -O2
+KBUILD_CFLAGS := -m64 -D__KERNEL__ -O2
 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
 KBUILD_CFLAGS += $(cflags-y) -fno-delete-null-pointer-checks -msoft-float
 KBUILD_CFLAGS += $(call cc-option,-mpacked-stack)
index 34d9e15857c3ba69681038b3ee032c0efa8126f8..44163e8c3868ec4dda58fed54f38411134224089 100644 (file)
@@ -25,7 +25,7 @@ KCOV_INSTRUMENT               := n
 targets := vmlinux vmlinux.bin vmlinux.bin.gz vmlinux.bin.bz2 vmlinux.bin.lzma \
        vmlinux.bin.xz vmlinux.bin.lzo vmlinux.bin.lz4
 
-KBUILD_CFLAGS := -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2
+KBUILD_CFLAGS := -m$(BITS) -D__KERNEL__ -O2
 KBUILD_CFLAGS += -fno-strict-aliasing $(call cc-option, -fPIE, -fPIC)
 KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
 cflags-$(CONFIG_X86_32) := -march=i386
index 5e23e2d305e71db52a7f9e27a63ce760f4c752fd..25a86e78683db9295f2ebe97754380b9a0f612fc 100644 (file)
@@ -6,7 +6,7 @@
 #
 cflags-$(CONFIG_X86_32)                := -march=i386
 cflags-$(CONFIG_X86_64)                := -mcmodel=small
-cflags-$(CONFIG_X86)           += -m$(BITS) -D__KERNEL__ $(LINUX_INCLUDE) -O2 \
+cflags-$(CONFIG_X86)           += -m$(BITS) -D__KERNEL__ -O2 \
                                   -fPIC -fno-strict-aliasing -mno-red-zone \
                                   -mno-mmx -mno-sse