openwrt/target/linux/generic
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
..
backport-4.9 kernel: bump 4.9 to 4.9.182 2019-06-18 14:47:53 +02:00
backport-4.14 kernel: bump 4.14 to 4.14.127 2019-06-18 14:47:53 +02:00
backport-4.19 kernel: bump 4.19 to 4.19.52 2019-06-18 14:47:53 +02:00
files generic: ar8216: group MIB counters and use two basic ones only by default 2019-05-20 21:17:57 +02:00
hack-4.9 kernel: bump 4.9 to 4.9.182 2019-06-18 14:47:53 +02:00
hack-4.14 kernel: bump 4.14 to 4.14.127 2019-06-18 14:47:53 +02:00
hack-4.19 kernel: bump 4.19 to 4.19.52 2019-06-18 14:47:53 +02:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-4.9 kernel: re-add bridge allow reception on disabled port 2019-06-07 18:22:20 +02:00
pending-4.14 kernel: bump 4.14 to 4.14.126 2019-06-18 11:38:58 +02:00
pending-4.19 kernel: generic: fix MIPS build on non-linux hosts 2019-06-20 14:38:34 +01:00
config-4.9 kernel: Remove CONFIG_COMPAT 2019-05-11 17:15:41 +02:00
config-4.14 kernel: Activate CONFIG_OPTIMIZE_INLINING 2019-06-16 18:40:02 +02:00
config-4.19 kernel: generic: add missing DRM panel 4.19 config symbols 2019-06-18 16:08:55 +02:00
PATCHES kernel: update PATCHES with a stricter policy 2013-07-09 20:52:07 +00:00