doc: driver-model: Convert remoteproc-framework.txt to reST
[platform/kernel/u-boot.git] / lib / efi / Makefile
1 # SPDX-License-Identifier: GPL-2.0+
2 #
3 # (C) Copyright 2015 Google, Inc
4
5 obj-$(CONFIG_EFI_APP) += efi_app.o efi.o
6 obj-$(CONFIG_EFI_STUB) += efi_info.o
7
8 CFLAGS_REMOVE_efi_stub.o := -mregparm=3 \
9         $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
10 CFLAGS_efi_stub.o := -fpic -fshort-wchar \
11         $(if $(CONFIG_EFI_STUB_64BIT),-m64)
12 CFLAGS_REMOVE_efi.o := -mregparm=3 \
13         $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
14 CFLAGS_efi.o := -fpic -fshort-wchar \
15         $(if $(CONFIG_EFI_STUB_64BIT),-m64)
16
17 extra-$(CONFIG_EFI_STUB) += efi_stub.o efi.o