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