blob: 020300b18c0be89cfa339d41a98c3dc5b1e0c09e [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001# Makefile for the Sun Boot PROM interface library under
2# Linux.
3#
Sam Ravnborg5de18cd2008-11-29 22:16:52 -08004asflags := -ansi
5ccflags := -Werror
Linus Torvalds1da177e2005-04-16 15:20:36 -07006
Sam Ravnborg708d4f02008-11-29 22:15:38 -08007lib-y := bootstr_$(BITS).o
Sam Ravnborg708d4f02008-11-29 22:15:38 -08008lib-y += init_$(BITS).o
9lib-$(CONFIG_SPARC32) += memory.o
10lib-y += misc_$(BITS).o
11lib-$(CONFIG_SPARC32) += mp.o
Sam Ravnborg708d4f02008-11-29 22:15:38 -080012lib-$(CONFIG_SPARC32) += ranges.o
Sam Ravnborg708d4f02008-11-29 22:15:38 -080013lib-y += console_$(BITS).o
Robert Reifefe6c3d2008-12-08 00:59:17 -080014lib-y += printf.o
Sam Ravnborg708d4f02008-11-29 22:15:38 -080015lib-y += tree_$(BITS).o
Sam Ravnborg5de18cd2008-11-29 22:16:52 -080016lib-$(CONFIG_SPARC64) += p1275.o
17lib-$(CONFIG_SPARC64) += cif.o