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
..
2019-06-12 15:04:09 +02:00
2019-01-28 18:17:32 +01:00
2019-06-18 14:47:53 +02:00
2018-11-05 16:00:00 +01:00
2019-06-12 15:04:09 +02:00
2019-06-18 11:38:58 +02:00
2019-06-03 17:00:29 +02:00
2019-05-21 09:45:15 +02:00
2019-06-12 15:04:09 +02:00
2019-06-03 12:40:53 +02:00
2019-06-18 11:38:58 +02:00
2019-03-11 19:35:43 +01:00
2019-05-11 17:15:41 +02:00
2019-05-21 09:45:15 +02:00
2019-01-07 17:09:06 +01:00
2018-12-10 11:48:44 +01:00
2019-05-11 17:15:41 +02:00