1From 3683b3f3e318fa711f6018f154d950c51d5b597a Mon Sep 17 00:00:00 2001
2From: Andrea Adami <andrea.adami@gmail.com>
3Date: Thu, 19 Apr 2018 19:26:53 +0200
4Subject: [PATCH] powerpc/purgatory: Makefile: remove unknown flags for powerpc
5
6Fix
7
8 powerpc-oe-linux-musl-ld: unrecognised emulation mode: soft-float
9 Supported emulations: elf32ppclinux elf32ppc elf32ppcsim elf32lppclinux
10                       elf32lppc elf32lppcsim elf64ppc elf64lppc
11
12Upstream-Status: Inappropriate [klibc specific]
13Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
14
15---
16 purgatory/arch/ppc/Makefile | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/purgatory/arch/ppc/Makefile b/purgatory/arch/ppc/Makefile
20index c85c58a..cd44a16 100644
21--- a/purgatory/arch/ppc/Makefile
22+++ b/purgatory/arch/ppc/Makefile
23@@ -7,7 +7,7 @@ ppc_PURGATORY_SRCS += purgatory/arch/ppc/misc.S
24 ppc_PURGATORY_SRCS += purgatory/arch/ppc/purgatory-ppc.c
25 ppc_PURGATORY_SRCS += purgatory/arch/ppc/console-ppc.c
26
27-ppc_PURGATORY_EXTRA_CFLAGS += -msoft-float
28+#ppc_PURGATORY_EXTRA_CFLAGS += -msoft-float
29
30 dist += purgatory/arch/ppc/Makefile $(ppc_PURGATORY_SRCS)		\
31 	purgatory/arch/ppc/purgatory-ppc.h purgatory/arch/ppc/ppc_asm.h
32