2 # (C) Copyright 2016 Alexander Graf
4 # SPDX-License-Identifier: GPL-2.0+
7 # This file only gets included with CONFIG_EFI_LOADER set, so all
8 # object inclusion implicitly depends on it
10 CFLAGS_helloworld.o
:= $(CFLAGS_EFI
)
11 CFLAGS_REMOVE_helloworld.o
:= $(CFLAGS_NON_EFI
)
13 efiprogs-
$(CONFIG_CMD_BOOTEFI_HELLO_COMPILE
) += helloworld.efi
14 always
:= $(efiprogs-y
)
16 obj-
$(CONFIG_CMD_BOOTEFI_HELLO
) += helloworld_efi.o
17 obj-y
+= efi_image_loader.o efi_boottime.o efi_runtime.o efi_console.o
19 obj-
$(CONFIG_LCD
) += efi_gop.o
20 obj-
$(CONFIG_PARTITIONS
) += efi_disk.o
21 obj-
$(CONFIG_NET
) += efi_net.o
22 obj-
$(CONFIG_GENERATE_SMBIOS_TABLE
) += efi_smbios.o