linux_dsm_epyc7002/arch/mips
Masahiro Yamada 3dd0aade59
MIPS: remove a space after -I to cope with header search paths for VDSO
Commit 9cc342f6c4 ("treewide: prefix header search paths with
$(srctree)/") caused a build error for MIPS VDSO.

  CC      arch/mips/vdso/gettimeofday.o
In file included from ../arch/mips/vdso/vdso.h:26,
                 from ../arch/mips/vdso/gettimeofday.c:11:
../arch/mips/include/asm/page.h:12:10: fatal error: spaces.h: No such file or directory
 #include <spaces.h>
          ^~~~~~~~~~

The cause of the error is a missing space after the compiler flag -I .

Kbuild used to have a global restriction "no space after -I", but
commit 48f6e3cf5b ("kbuild: do not drop -I without parameter") got
rid of it. Having a space after -I is no longer a big deal as far as
Kbuild is concerned.

It is still a big deal for MIPS because arch/mips/vdso/Makefile
filters the header search paths, like this:

  ccflags-vdso := \
          $(filter -I%,$(KBUILD_CFLAGS)) \

..., which relies on the assumption that there is no space after -I .

Fixes: 9cc342f6c4 ("treewide: prefix header search paths with $(srctree)/")
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: Ralf Baechle <ralf@linux-mips.org>
Cc: James Hogan <jhogan@kernel.org>
Cc: linux-mips@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
2019-05-22 18:46:15 -07:00
..
alchemy A few more MIPS changes for 5.2: 2019-05-19 10:05:28 -07:00
ar7
ath25
ath79 clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
bcm47xx
bcm63xx
bmips
boot
cavium-octeon
cobalt
configs Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2019-05-16 16:16:18 -07:00
crypto
dec
emma
fw
generic generic: fix appended dtb support 2019-05-13 12:02:47 -07:00
include MIPS: mark ginvt() as __always_inline 2019-05-22 18:45:52 -07:00
jazz
jz4740
kernel A few more MIPS changes for 5.2: 2019-05-19 10:05:28 -07:00
kvm
lantiq
lasat
lib
loongson32
loongson64
math-emu
mm initramfs: poison freed initrd memory 2019-05-14 09:47:47 -07:00
mti-malta
net
netlogic
oprofile
paravirt
pci MIPS: SGI-IP27: abstract chipset irq from bridge 2019-05-09 16:48:20 -07:00
pic32
pistachio
pmcs-msp71xx
pnx833x MIPS: remove a space after -I to cope with header search paths for VDSO 2019-05-22 18:46:15 -07:00
power
ralink
rb532
sgi-ip22 MIPS: SGI-IP22: provide missing dma_mask/coherent_dma_mask 2019-05-13 12:02:55 -07:00
sgi-ip27 MIPS: SGI-IP27: abstract chipset irq from bridge 2019-05-09 16:48:20 -07:00
sgi-ip32
sibyte
sni
tools
txx9 clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
vdso
vr41xx
Kbuild
Kbuild.platforms
Kconfig A few more MIPS changes for 5.2: 2019-05-19 10:05:28 -07:00
Kconfig.debug
Makefile
Makefile.postlink