mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-06 05:13:18 +00:00
e942242784
IP27 uses ARC prom only for parsing prom arguments and has a hack for IP27 to make the ARC code behave. By introducing config symbol ARC_CMDLINE_ONLY IP27 only drags in ARC cmdline parsing and does everything else in IP27 specific code. Signed-off-by: Thomas Bogendoerfer <tbogendoerfer@suse.de> Signed-off-by: Paul Burton <paulburton@kernel.org> Cc: Ralf Baechle <ralf@linux-mips.org> Cc: Paul Burton <paul.burton@mips.com> Cc: James Hogan <jhogan@kernel.org> Cc: linux-mips@vger.kernel.org Cc: linux-kernel@vger.kernel.org
16 lines
354 B
Makefile
16 lines
354 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the ARC prom monitor library routines under Linux.
|
|
#
|
|
|
|
ifdef CONFIG_ARC_CMDLINE_ONLY
|
|
lib-y += cmdline.o
|
|
else
|
|
lib-y += cmdline.o env.o file.o identify.o init.o \
|
|
misc.o
|
|
endif
|
|
|
|
lib-$(CONFIG_ARC_MEMORY) += memory.o
|
|
lib-$(CONFIG_ARC_CONSOLE) += arc_con.o
|
|
lib-$(CONFIG_ARC_PROMLIB) += promlib.o
|