From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 11 Jun 2018 08:53:37 -0600 Subject: [U-Boot] [PATCH 04/18] x86: efi: payload: Enforce toolchain to generate 64-bit EFI payload stub codes In-Reply-To: <1528637118-32739-5-git-send-email-bmeng.cn@gmail.com> References: <1528637118-32739-1-git-send-email-bmeng.cn@gmail.com> <1528637118-32739-5-git-send-email-bmeng.cn@gmail.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 10 June 2018 at 05:25, Bin Meng wrote: > Attempting to use a toolchain that is preconfigured to generate code > for the 32-bit architecture (i386), for example, the i386-linux-gcc > toolchain on kernel.org, to compile the 64-bit EFI payload does not > build. This updates the makefile fragments to ensure '-m64' is passed > to toolchain when building the 64-bit EFI payload stub codes. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/Makefile | 3 ++- > arch/x86/lib/Makefile | 4 ++-- > lib/efi/Makefile | 6 ++++-- > 3 files changed, 8 insertions(+), 5 deletions(-) > Reviewed-by: Simon Glass Nice to get this working with an i386 compiler!