Kevin Darbyshire-Bryant
3989a20ad9
MIPS: fix build on non-linux hosts
...
[ Upstream commit 1196364f21ffe5d1e6d83cafd6a2edb89404a3ae ]
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.
Suggested-by: Jo-Philipp Wich <jo@mein.io>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Signed-off-by: Paul Burton <paul.burton@mips.com>
Cc: linux-mips@vger.kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
2019-08-04 09:33:14 +02:00
..
alchemy
MIPS: Sanitise coherentio semantics
2016-10-06 18:01:28 +02:00
ar7
MIPS: AR7: ensure the port type's FCR value is used
2018-01-23 19:57:10 +01:00
ath25
MIPS: ath25: Check for kzalloc allocation failure
2018-03-18 11:18:49 +01:00
ath79
Revert "MIPS: perf: ath79: Fix perfcount IRQ assignment"
2019-06-11 12:22:48 +02:00
bcm47xx
Revert "MIPS: BCM47XX: Enable 74K Core ExternalSync for PCIe erratum"
2018-09-05 09:20:03 +02:00
bcm63xx
MIPS: BCM63xx: Let clk_disable() return immediately if clk is NULL
2016-10-04 16:13:57 +02:00
bmips
MIPS: BMIPS: Support APPENDED_DTB
2016-10-06 17:31:02 +02:00
boot
MIPS: fix build on non-linux hosts
2019-08-04 09:33:14 +02:00
cavium-octeon
MIPS: OCTEON: mark RGMII interface disabled on OCTEON III
2019-01-09 16:16:45 +01:00
cobalt
MIPS: Cobalt: Fix typo
2016-08-03 08:16:30 +02:00
configs
MIPS: ath79: Enable OF serial ports in the default config
2019-02-27 10:06:59 +01:00
dec
MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression
2017-08-16 13:43:24 -07:00
emma
fw
MIPS: Fix misspellings in comments.
2016-04-03 12:32:09 +02:00
generic
MIPS: generic: fix missing of_node_put()
2018-09-19 22:47:15 +02:00
include
MIPS: ath79: fix ar933x uart parity mode
2019-08-04 09:33:13 +02:00
jazz
MIPS: jazz: fix 64bit build
2019-02-27 10:06:59 +01:00
jz4740
MIPS: jz4740: Bump zload address
2018-09-26 08:36:33 +02:00
kernel
MIPS: uprobes: remove set but not used variable 'epc'
2019-07-10 09:55:29 +02:00
kvm
KVM: Fix spelling mistake: "cop_unsuable" -> "cop_unusable"
2018-05-30 07:50:16 +02:00
lantiq
MIPS: Lantiq: Fix another request_mem_region() return code check
2017-10-08 10:26:07 +02:00
lasat
mips: separate extable.h, switch module.h to it
2016-10-05 18:36:18 -04:00
lib
MIPS: lib: Provide MIPS64r6 __multi3() for GCC < 7
2018-09-05 09:20:10 +02:00
loongson32
MIPS: Add RTC support for Loongson1C board
2016-10-04 16:13:57 +02:00
loongson64
mips: loongson64: lemote-2f: Add IRQF_NO_SUSPEND to "cascade" irqaction.
2019-03-27 14:13:02 +09:00
math-emu
MIPS: math-emu: do not use bools for arithmetic
2019-07-10 09:55:43 +02:00
mm
MIPS: Add missing EHB in mtc0 -> mfc0 sequence.
2019-07-10 09:55:47 +02:00
mti-malta
MIPS: Print CM error reports upon bus errors
2016-10-06 18:02:18 +02:00
net
MIPS: BPF: Fix multiple problems in JIT skb access helpers.
2018-03-22 09:17:50 +01:00
netlogic
MIPS: Netlogic: Exclude netlogic,xlp-pic code from XLR builds
2017-11-21 09:23:28 +01:00
oprofile
MIPS/Loongson-3: Convert oprofile to hotplug state machine
2016-07-15 10:40:29 +02:00
paravirt
MIPS: SMP: Don't increment irq_count multiple times for call function IPIs
2015-08-03 09:25:12 +02:00
pci
MIPS: OCTEON: don't set octeon_dma_bar_type if PCI is disabled
2019-02-15 08:07:38 +01:00
pic32
MIPS: pic32mzda: Fix linker error for pic32_get_pbclk()
2017-03-12 06:41:39 +01:00
pistachio
MIPS: pistachio: Build uImage.gz by default
2019-06-11 12:22:48 +02:00
pmcs-msp71xx
MIPS: MSP71xx: Use __flush_cache_all instead of flush_cache_all.
2016-05-13 14:01:38 +02:00
pnx833x
MIPS: Squash lines for simple wrapper functions
2016-10-04 16:13:57 +02:00
power
ralink
MIPS: ralink: Select CONFIG_CPU_MIPSR2_IRQ_VI on MT7620/8
2019-02-12 19:44:58 +01:00
rb532
MIPS: rb532: use gpiochip data pointer
2016-02-19 09:51:44 +01:00
sgi-ip22
MIPS: ip22: Fix ip28 build for modern gcc
2017-03-18 19:14:27 +08:00
sgi-ip27
MIPS: Spelling fix lets -> let's
2016-05-28 12:35:09 +02:00
sgi-ip32
MIPS: IP32: Fix build errors in reset code in DS1685 platform hook.
2015-05-13 00:01:41 +02:00
sibyte
MIPS: SiByte: Enable swiotlb for SWARM, LittleSur and BigSur
2019-01-26 09:38:33 +01:00
sni
char/genrtc: remove asm-generic/rtc.h from mips
2016-06-04 00:23:36 +02:00
txx9
MIPS: TXx9: use IS_BUILTIN() for CONFIG_LEDS_CLASS
2018-05-30 07:50:25 +02:00
vdso
MIPS: VDSO: Include $(ccflags-vdso) in o32,n32 .lds builds
2019-02-15 08:07:38 +01:00
vr41xx
MIPS: VR41xx: Fix typo
2016-05-28 12:35:09 +02:00
xilfpga
mips: Remove unnecessary of_platform_populate with default match table
2016-06-23 15:00:29 -05:00
Kbuild
MIPS: Initial implementation of a VDSO
2015-11-11 08:36:36 +01:00
Kbuild.platforms
MIPS: generic: Convert SEAD-3 to a generic board
2016-10-06 18:04:20 +02:00
Kconfig
MIPS: Workaround GCC __builtin_unreachable reordering bug
2019-07-10 09:55:45 +02:00
Kconfig.debug
MIPS: Remove compact branch policy Kconfig entries
2016-09-13 14:14:50 +02:00
Makefile
MIPS: Fix build of compressed image
2016-11-04 00:37:15 +01:00