mirror of
https://git.yoctoproject.org/poky
synced 2026-05-02 09:32:14 +02:00
When use automake to generate Makefile.in from Makefile.am, there comes below race: | configure.ac:45: error: required file 'config-h.in' not found It is because the file config-h.in in updating process by autoheader, so make automake run after autoheader to avoid the above race. (From OE-Core rev: 0d5dd68a07707f8b8428fe564414e2f5b7433ed5) Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1fc0a4a98e65db7efba8bb5cb835101ea5dd865b) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
From e82c06584f02e3e4487aa73aa05981e2a35dc6d1 Mon Sep 17 00:00:00 2001
|
|
From: Mingli Yu <mingli.yu@windriver.com>
|
|
Date: Tue, 13 Apr 2021 07:17:29 +0000
|
|
Subject: [PATCH] Makefile.am: make sure autoheader run before automake
|
|
|
|
When use automake to generate Makefile.in from Makefile.am, there
|
|
comes below race:
|
|
| configure.ac:45: error: required file 'config-h.in' not found
|
|
|
|
It is because the file config-h.in in updating process by autoheader,
|
|
so make automake run after autoheader to avoid the above race.
|
|
|
|
Upstream-Status: Submitted [libtool-patches@gnu.org maillist]
|
|
|
|
Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
|
|
---
|
|
Makefile.am | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index 2752ecc..29950db 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -328,7 +328,7 @@ EXTRA_DIST += $(lt_aclocal_m4) \
|
|
$(lt_obsolete_m4) \
|
|
$(stamp_mk)
|
|
|
|
-$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4)
|
|
+$(lt_Makefile_in): $(lt_Makefile_am) $(lt_aclocal_m4) $(lt_config_h_in)
|
|
$(AM_V_GEN)cd '$(srcdir)/$(ltdl_dir)' && $(AUTOMAKE) Makefile
|
|
|
|
# Don't let unused scripts leak into the libltdl Makefile
|
|
--
|
|
2.29.2
|
|
|