[PATCH] Enable make dist

2 views
Skip to first unread message

Jan Kiszka

unread,
Feb 26, 2025, 1:25:37 AMFeb 26
to EFI Boot Guard
From: Jan Kiszka <jan.k...@siemens.com>

This never worked is it could because a) it referenced non-existing
files, b) it missed to include many others. Now it should be fine,
though this is not goint to be used by upstream itself.

Signed-off-by: Jan Kiszka <jan.k...@siemens.com>
---
Makefile.am | 50 +++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index bb97df2..3024914 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -39,7 +39,26 @@ AM_LDFLAGS = -L$(top_builddir)/

ARFLAGS = cr

-EXTRA_DIST = autogen.sh README LICENSE
+EXTRA_DIST = \
+ .clang-format \
+ .editorconfig \
+ .github \
+ .gitignore \
+ .gitmodules \
+ CONTRIBUTING.md \
+ COPYING \
+ README.md \
+ SECURITY.md \
+ VERSION \
+ completion/bg_printenv \
+ completion/bg_setenv \
+ completion/common.py \
+ completion/.gitignore \
+ docs \
+ gen_version_h \
+ scripts \
+ tests/bg_setenv.bats \
+ tools/bg_gen_unified_kernel
CLEANFILES =

define shtab
@@ -109,6 +128,24 @@ libebgenv_a_CFLAGS = \
pkginclude_HEADERS = \
include/ebgenv.h

+noinst_HEADERS = \
+ include/bootguard.h \
+ include/configuration.h \
+ include/ebgpart.h \
+ include/env_api.h \
+ include/env_config_file.h \
+ include/env_config_partitions.h \
+ include/envdata.h \
+ include/env_disk_utils.h \
+ include/loader_interface.h \
+ include/mmio.h \
+ include/simatic.h \
+ include/smbios.h \
+ include/syspart.h \
+ include/test-interface.h \
+ include/uservars.h \
+ include/utils.h
+
#
# Shared libraries
#
@@ -134,6 +171,14 @@ bg_setenv_SOURCES = \
bg_setenv_CFLAGS = \
$(AM_CFLAGS) -static

+noinst_HEADERS += \
+ tools/bg_envtools.h \
+ tools/bg_printenv.h \
+ tools/bg_setenv.h \
+ tools/fat.h \
+ tools/linux_util.h \
+ tools/tests/fake_devices.h
+
if ARCH_ARM
bg_setenv_LDFLAGS = -Wl,--no-wchar-size-warning
endif
@@ -203,6 +248,9 @@ kernel_stub_sources = \
kernel-stub/initrd.c \
kernel-stub/main.c

+noinst_HEADERS += \
+ kernel-stub/kernel-stub.h
+
efi_cppflags = \
-I$(top_builddir) -include config.h \
-I$(top_srcdir)/include \
--
2.43.0
Reply all
Reply to author
Forward
0 new messages