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