1# 2# (C) Copyright 2015 Google, Inc 3# 4# SPDX-License-Identifier: GPL-2.0+ 5# 6 7obj-$(CONFIG_EFI_APP) += efi_app.o efi.o 8obj-$(CONFIG_EFI_STUB) += efi_info.o 9 10CFLAGS_REMOVE_efi_stub.o := -mregparm=3 \ 11 $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32) 12CFLAGS_efi_stub.o := -fpic -fshort-wchar 13CFLAGS_REMOVE_efi.o := -mregparm=3 \ 14 $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32) 15CFLAGS_efi.o := -fpic -fshort-wchar 16 17extra-$(CONFIG_EFI_STUB) += efi_stub.o efi.o 18