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