]>
Commit | Line | Data |
---|---|---|
ed980b8c AG |
1 | # |
2 | # (C) Copyright 2016 Alexander Graf | |
3 | # | |
4 | # SPDX-License-Identifier: GPL-2.0+ | |
5 | # | |
6 | ||
7 | # This file only gets included with CONFIG_EFI_LOADER set, so all | |
8 | # object inclusion implicitly depends on it | |
9 | ||
3bb74f98 AG |
10 | CFLAGS_helloworld.o := $(CFLAGS_EFI) -Os -ffreestanding |
11 | CFLAGS_REMOVE_helloworld.o := $(CFLAGS_NON_EFI) -Os | |
c7ae3dfd | 12 | |
c96967e6 HS |
13 | ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),) |
14 | always += helloworld.efi | |
15 | endif | |
95b62b2e | 16 | |
c7ae3dfd | 17 | obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o |
ed980b8c | 18 | obj-y += efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o |
b66c60dd | 19 | obj-y += efi_memory.o efi_device_path_to_text.o efi_device_path.o |
b3d60900 | 20 | obj-y += efi_file.o efi_variable.o efi_bootmgr.o efi_watchdog.o |
be8d3241 | 21 | obj-$(CONFIG_LCD) += efi_gop.o |
ca9193d2 | 22 | obj-$(CONFIG_DM_VIDEO) += efi_gop.o |
ed980b8c | 23 | obj-$(CONFIG_PARTITIONS) += efi_disk.o |
3b3ea2c5 | 24 | obj-$(CONFIG_CMD_NET) += efi_net.o |
e663b350 | 25 | obj-$(CONFIG_GENERATE_SMBIOS_TABLE) += efi_smbios.o |