Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # Makefile for the Sun Boot PROM interface library under |
| 3 | # Linux. |
| 4 | # |
Sam Ravnborg | 5de18cd | 2008-11-29 22:16:52 -0800 | [diff] [blame] | 5 | asflags := -ansi |
| 6 | ccflags := -Werror |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
Sam Ravnborg | 708d4f0 | 2008-11-29 22:15:38 -0800 | [diff] [blame] | 8 | lib-y := bootstr_$(BITS).o |
Sam Ravnborg | 708d4f0 | 2008-11-29 22:15:38 -0800 | [diff] [blame] | 9 | lib-y += init_$(BITS).o |
| 10 | lib-$(CONFIG_SPARC32) += memory.o |
| 11 | lib-y += misc_$(BITS).o |
| 12 | lib-$(CONFIG_SPARC32) += mp.o |
Sam Ravnborg | 708d4f0 | 2008-11-29 22:15:38 -0800 | [diff] [blame] | 13 | lib-$(CONFIG_SPARC32) += ranges.o |
Sam Ravnborg | 708d4f0 | 2008-11-29 22:15:38 -0800 | [diff] [blame] | 14 | lib-y += console_$(BITS).o |
Robert Reif | efe6c3d | 2008-12-08 00:59:17 -0800 | [diff] [blame] | 15 | lib-y += printf.o |
Sam Ravnborg | 708d4f0 | 2008-11-29 22:15:38 -0800 | [diff] [blame] | 16 | lib-y += tree_$(BITS).o |
Sam Ravnborg | 5de18cd | 2008-11-29 22:16:52 -0800 | [diff] [blame] | 17 | lib-$(CONFIG_SPARC64) += p1275.o |
| 18 | lib-$(CONFIG_SPARC64) += cif.o |