mirror of
https://github.com/torvalds/linux.git
synced 2026-11-25 16:02:57 +00:00
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 <[email protected]> Signed-off-by: Paul Burton <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: Paul Burton <[email protected]> Cc: James Hogan <[email protected]> Cc: [email protected] Cc: [email protected]
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
|