rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0 |
| 2 | # Makefile for the Sun Boot PROM interface library under |
| 3 | # Linux. |
| 4 | # |
| 5 | asflags := -ansi |
| 6 | ccflags := -Werror |
| 7 | |
| 8 | lib-y := bootstr_$(BITS).o |
| 9 | lib-y += init_$(BITS).o |
| 10 | lib-$(CONFIG_SPARC32) += memory.o |
| 11 | lib-y += misc_$(BITS).o |
| 12 | lib-$(CONFIG_SPARC32) += mp.o |
| 13 | lib-$(CONFIG_SPARC32) += ranges.o |
| 14 | lib-y += console_$(BITS).o |
| 15 | lib-y += printf.o |
| 16 | lib-y += tree_$(BITS).o |
| 17 | lib-$(CONFIG_SPARC64) += p1275.o |
| 18 | lib-$(CONFIG_SPARC64) += cif.o |