]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
grub-core/Makefile.am: Make path to extra_deps.lst relative to $(top_srcdir)/grub...
authorMate Kukri <mate.kukri@canonical.com>
Fri, 8 Dec 2023 17:20:12 +0000 (17:20 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Tue, 12 Dec 2023 16:06:13 +0000 (17:06 +0100)
The commit 154dcb1ae (build: Allow explicit module dependencies) broke
out of tree builds by introducing the extra_deps.lst file into the
source tree but referencing it just by name in grub-core/Makefile.am.
Fix it by adding $(top_srcdir)/grub-core to the path.

Fixes: 154dcb1ae (build: Allow explicit module dependencies)
Signed-off-by: Mate Kukri <mate.kukri@canonical.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/Makefile.am

index a48ce37b4815b462ad227cffb2def70ac7ef67e3..f18550c1c98ee372a47b490b9632356a1faa5bca 100644 (file)
@@ -454,8 +454,8 @@ crypto.lst: $(srcdir)/lib/libgcrypt-grub/cipher/crypto.lst
 platform_DATA += crypto.lst
 CLEANFILES += crypto.lst
 
-syminfo.lst: gensyminfo.sh kernel_syms.lst extra_deps.lst $(MODULE_FILES)
-       cat kernel_syms.lst extra_deps.lst > $@.new
+syminfo.lst: gensyminfo.sh kernel_syms.lst $(top_srcdir)/grub-core/extra_deps.lst $(MODULE_FILES)
+       cat kernel_syms.lst $(top_srcdir)/grub-core/extra_deps.lst > $@.new
        for m in $(MODULE_FILES); do \
          sh $< $$m >> $@.new || exit 1; \
        done