Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

MIPS: IP32: Migrate to new platform makefile style.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

+12 -14
+1
arch/mips/Kbuild.platforms
··· 11 11 platforms += pmc-sierra 12 12 platforms += sgi-ip22 13 13 platforms += sgi-ip27 14 + platforms += sgi-ip32 14 15 platforms += sni 15 16 platforms += vr41xx 16 17
-12
arch/mips/Makefile
··· 251 251 load-$(CONFIG_POWERTV) += 0xffffffff90800000 252 252 253 253 # 254 - # SGI-IP32 (O2) 255 - # 256 - # Set the load address to >= 80069000 if you want to leave space for symmon, 257 - # 0xffffffff80004000 for production kernels. Note that the value must be aligned to 258 - # a multiple of the kernel stack size or the handling of the current variable 259 - # will break. 260 - # 261 - core-$(CONFIG_SGI_IP32) += arch/mips/sgi-ip32/ 262 - cflags-$(CONFIG_SGI_IP32) += -I$(srctree)/arch/mips/include/asm/mach-ip32 263 - load-$(CONFIG_SGI_IP32) += 0xffffffff80004000 264 - 265 - # 266 254 # Sibyte SB1250/BCM1480 SOC 267 255 # 268 256 # This is a LIB so that it links at the end, and initcalls are later
-2
arch/mips/sgi-ip32/Makefile
··· 5 5 6 6 obj-y += ip32-berr.o ip32-irq.o ip32-platform.o ip32-setup.o ip32-reset.o \ 7 7 crime.o ip32-memory.o 8 - 9 - EXTRA_CFLAGS += -Werror
+11
arch/mips/sgi-ip32/Platform
··· 1 + # 2 + # SGI-IP32 (O2) 3 + # 4 + # Set the load address to >= 80069000 if you want to leave space for symmon, 5 + # 0xffffffff80004000 for production kernels. Note that the value must be aligned to 6 + # a multiple of the kernel stack size or the handling of the current variable 7 + # will break. 8 + # 9 + platform-$(CONFIG_SGI_IP32) += sgi-ip32/ 10 + cflags-$(CONFIG_SGI_IP32) += -I$(srctree)/arch/mips/include/asm/mach-ip32 11 + load-$(CONFIG_SGI_IP32) += 0xffffffff80004000