From: Jan Kiszka <[email protected]> Due to conditional building the watchdog sources only on x86, those were missing in EXTRA_DIST on other archs.
Signed-off-by: Jan Kiszka <[email protected]> --- (Style) changes in v2: - Renamed watchdogs_sources_x86 -> watchdog_sources_x86 - Copyright year update Makefile.am | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile.am b/Makefile.am index bfe5753..2af387f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,7 +1,7 @@ # # EFI Boot Guard # -# Copyright (c) Siemens AG, 2017-2025 +# Copyright (c) Siemens AG, 2017-2026 # # Authors: # Claudius Heine <[email protected]> @@ -206,12 +206,11 @@ efi_loadername = efibootguard$(MACHINE_TYPE_NAME).efi if BOOTLOADER -if ARCH_IS_X86 # NOTE: wdat.c is placed first so it is tried before any other drivers # NOTE: ipcbx21a.c must be *before* itco.c # NOTE: ipc4x7e_wdt.c must be *before* itco.c # NOTE: ipmi_wdt.c must be *before* itco.c -efi_sources_watchdogs = \ +watchdog_sources_x86 = \ drivers/watchdog/wdat.c \ drivers/watchdog/amdfch_wdt.c \ drivers/watchdog/i6300esb.c \ @@ -225,6 +224,8 @@ efi_sources_watchdogs = \ drivers/watchdog/eiois200_wdt.c \ drivers/utils/simatic.c \ drivers/utils/smbios.c +if ARCH_IS_X86 +efi_sources_watchdogs = $(watchdog_sources_x86) else efi_sources_watchdogs = endif @@ -327,7 +328,7 @@ kernel_stub_solib = $(top_builddir)/kernel-stub/kernel-stub$(MACHINE_TYPE_NAME). efibootguard_DATA = $(efi_loadername) $(kernel_stub_name) CLEANFILES += $(efi_objects) $(efi_solib) $(efi_loadername) CLEANFILES += $(kernel_stub_objects) $(kernel_stub_solib) $(kernel_stub_name) -EXTRA_DIST += $(efi_sources) $(kernel_stub_sources) +EXTRA_DIST += $(efi_sources) $(watchdog_sources_x86) $(kernel_stub_sources) define gnuefi_compile $(AM_V_CC) $(MKDIR_P) $(shell dirname $@)/; \ -- 2.47.3 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/efibootguard-dev/74b87f6f-238f-4a6b-aa6d-9450bbcd05cd%40siemens.com.
