]> git.ipfire.org Git - people/ms/u-boot.git/blob - lib/efi/Makefile
efi: Add 64-bit payload support
[people/ms/u-boot.git] / lib / efi / Makefile
1 #
2 # (C) Copyright 2015 Google, Inc
3 #
4 # SPDX-License-Identifier: GPL-2.0+
5 #
6
7 obj-$(CONFIG_EFI_APP) += efi_app.o efi.o
8
9 CFLAGS_REMOVE_efi_stub.o := -mregparm=3 \
10 $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
11 CFLAGS_efi_stub.o := -fpic -fshort-wchar
12 CFLAGS_REMOVE_efi.o := -mregparm=3 \
13 $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
14 CFLAGS_efi.o := -fpic -fshort-wchar
15
16 extra-$(CONFIG_EFI_STUB) += efi_stub.o efi.o