mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-20 22:52:00 +00:00
efi: Correct .efi rules
These files should have both 'always' and 'targets' so that dependencies are detected correctly. When only 'always' is used, the target is built every time, although I am not quite sure why. Make sure each has both 'always' and 'targets' to avoid this problem. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1e4d965b59
commit
c52bd0362d
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,7 @@ CFLAGS_REMOVE_initrddump.o := $(CFLAGS_NON_EFI)
|
||||||
|
|
||||||
ifdef CONFIG_RISCV
|
ifdef CONFIG_RISCV
|
||||||
always += boothart.efi
|
always += boothart.efi
|
||||||
|
targets += boothart.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),)
|
ifneq ($(CONFIG_CMD_BOOTEFI_HELLO_COMPILE),)
|
||||||
|
@ -32,10 +33,12 @@ endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_GENERATE_ACPI_TABLE),)
|
ifeq ($(CONFIG_GENERATE_ACPI_TABLE),)
|
||||||
always += dtbdump.efi
|
always += dtbdump.efi
|
||||||
|
targets += dtbdump.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifdef CONFIG_EFI_LOAD_FILE2_INITRD
|
ifdef CONFIG_EFI_LOAD_FILE2_INITRD
|
||||||
always += initrddump.efi
|
always += initrddump.efi
|
||||||
|
targets += initrddump.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
|
obj-$(CONFIG_CMD_BOOTEFI_HELLO) += helloworld_efi.o
|
||||||
|
|
Loading…
Reference in a new issue