openwrt-6.x/target/linux
Kevin Darbyshire-Bryant 71f0333480 kernel: generic: fix MIPS build on non-linux hosts
calc_vmlinuz_load_addr.c requires SZ_64K to be defined for alignment
purposes.  It included "../../../../include/linux/sizes.h" to define
that size, however "sizes.h" tries to include <linux/const.h> which
assumes linux system headers.  These may not exist eg. the following
error was encountered when building Linux for OpenWrt under macOS:

In file included from arch/mips/boot/compressed/calc_vmlinuz_load_addr.c:16:
arch/mips/boot/compressed/../../../../include/linux/sizes.h:11:10: fatal error: 'linux/const.h' file not found

Change makefile to force building on local linux headers instead of
system headers.  Also change eye-watering relative reference in include
file spec.

Thanks to Jo-Philip Wich & Petr Štetiar for assistance in tracking this
down & fixing.

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
2019-06-20 14:38:34 +01:00
..
apm821xx
ar7
ar71xx kernel: bump 4.14 to 4.14.127 2019-06-18 14:47:53 +02:00
arc770
archs38
armvirt treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
at91
ath25
ath79 ath79: correct various phy-mode properties 2019-06-20 08:57:36 +02:00
bcm53xx
brcm47xx
brcm63xx
brcm2708 kernel: bump 4.14 to 4.14.126 2019-06-18 11:38:58 +02:00
cns3xxx
gemini treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
generic kernel: generic: fix MIPS build on non-linux hosts 2019-06-20 14:38:34 +01:00
imx6 treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
ipq40xx treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
ipq806x
ixp4xx
kirkwood
lantiq
layerscape kernel: bump 4.14 to 4.14.126 2019-06-18 11:38:58 +02:00
malta treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
mediatek
mpc85xx treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
mvebu mvebu: fix regression for non-generic ESPRESSObin versions 2019-06-18 16:13:10 +02:00
mxs
octeon treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
octeontx
omap
orion
oxnas
pistachio
ramips ramips: fix EW-7478AC model name in DTS 2019-06-20 12:47:19 +02:00
rb532
samsung
sunxi treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
tegra treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
uml
x86 treewide: kernel: bump some targets to 4.19 2019-06-18 16:08:55 +02:00
zynq
Makefile