]> git.sur5r.net Git - u-boot/blob - lib/efi/Makefile
SPDX: Convert all of our single license tags to Linux Kernel style
[u-boot] / 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 -DEFI_STUB
11 CFLAGS_REMOVE_efi.o := -mregparm=3 \
12         $(if $(CONFIG_EFI_STUB_64BIT),-march=i386 -m32)
13 CFLAGS_efi.o := -fpic -fshort-wchar -DEFI_STUB
14
15 extra-$(CONFIG_EFI_STUB) += efi_stub.o efi.o