]>
git.ipfire.org Git - people/ms/u-boot.git/blob - lib/efi/Makefile
2 # (C) Copyright 2015 Google, Inc
4 # SPDX-License-Identifier: GPL-2.0+
7 obj-
$(CONFIG_EFI_APP
) += efi_app.o efi.o
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
16 extra-
$(CONFIG_EFI_STUB
) += efi_stub.o efi.o