diff --git a/arch/sparc/prom/Makefile b/arch/sparc/prom/Makefile index 8f7e18546c974f6ba8fec1c6ec8befcc21d5d30d..74ca9cceaeea1d13814f48827335b6ae4ed0d886 100644 --- a/arch/sparc/prom/Makefile +++ b/arch/sparc/prom/Makefile @@ -2,5 +2,16 @@ # Linux. # -lib-y := bootstr.o devmap.o devops.o init.o memory.o misc.o mp.o \ - palloc.o ranges.o segment.o console.o printf.o tree.o +lib-y := bootstr_$(BITS).o +lib-$(CONFIG_SPARC32) += devmap.o +lib-y += devops_$(BITS).o +lib-y += init_$(BITS).o +lib-$(CONFIG_SPARC32) += memory.o +lib-y += misc_$(BITS).o +lib-$(CONFIG_SPARC32) += mp.o +lib-$(CONFIG_SPARC32) += palloc.o +lib-$(CONFIG_SPARC32) += ranges.o +lib-$(CONFIG_SPARC32) += segment.o +lib-y += console_$(BITS).o +lib-y += printf_$(BITS).o +lib-y += tree_$(BITS).o diff --git a/arch/sparc/prom/bootstr.c b/arch/sparc/prom/bootstr_32.c similarity index 100% rename from arch/sparc/prom/bootstr.c rename to arch/sparc/prom/bootstr_32.c diff --git a/arch/sparc/prom/console.c b/arch/sparc/prom/console_32.c similarity index 100% rename from arch/sparc/prom/console.c rename to arch/sparc/prom/console_32.c diff --git a/arch/sparc/prom/devops.c b/arch/sparc/prom/devops_32.c similarity index 100% rename from arch/sparc/prom/devops.c rename to arch/sparc/prom/devops_32.c diff --git a/arch/sparc/prom/init.c b/arch/sparc/prom/init_32.c similarity index 100% rename from arch/sparc/prom/init.c rename to arch/sparc/prom/init_32.c diff --git a/arch/sparc/prom/misc.c b/arch/sparc/prom/misc_32.c similarity index 100% rename from arch/sparc/prom/misc.c rename to arch/sparc/prom/misc_32.c diff --git a/arch/sparc/prom/printf.c b/arch/sparc/prom/printf_32.c similarity index 100% rename from arch/sparc/prom/printf.c rename to arch/sparc/prom/printf_32.c diff --git a/arch/sparc/prom/tree.c b/arch/sparc/prom/tree_32.c similarity index 100% rename from arch/sparc/prom/tree.c rename to arch/sparc/prom/tree_32.c