xref: /openbmc/linux/arch/sparc/prom/Makefile (revision ba61bb17)
1# SPDX-License-Identifier: GPL-2.0
2# Makefile for the Sun Boot PROM interface library under
3# Linux.
4#
5asflags := -ansi
6ccflags := -Werror
7
8lib-y                 := bootstr_$(BITS).o
9lib-y                 += init_$(BITS).o
10lib-$(CONFIG_SPARC32) += memory.o
11lib-y                 += misc_$(BITS).o
12lib-$(CONFIG_SPARC32) += mp.o
13lib-$(CONFIG_SPARC32) += ranges.o
14lib-y                 += console_$(BITS).o
15lib-y                 += printf.o
16lib-y                 += tree_$(BITS).o
17lib-$(CONFIG_SPARC64) += p1275.o
18lib-$(CONFIG_SPARC64) += cif.o
19