Since commit f7a354dd7991bda57ab8b26d6491687d777f88da ("Generate image headers
from their PNG source, while still including them in dist tarball")
headers files are generated from autotools by using BUILD_SOURCES variable.
But when generating header files, it is important to generate the files before
the
rest of the sources are compiled. So, the BUILT_SOURCES variable must be used in
this case.
Fixes:
psplash.c:17:10: fatal error: psplash-bar-img.h: No such file or directory
#include "psplash-bar-img.h"
Signed-off-by: Pierre-Jean Texier <[email protected]>
---
Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.am b/Makefile.am
index e756ed1..fb43847 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -6,7 +6,7 @@ psplash_SOURCES = psplash.c psplash.h psplash-fb.c psplash-fb.h
\
psplash-console.c psplash-console.h \
psplash-colors.h psplash-config.h \
psplash-poky-img.h psplash-bar-img.h $(FONT_NAME)-font.h
-BUILD_SOURCES = psplash-poky-img.h psplash-bar-img.h
+BUILT_SOURCES = psplash-poky-img.h psplash-bar-img.h
psplash_write_SOURCES = psplash-write.c psplash.h
--
2.7.4
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#48079): https://lists.yoctoproject.org/g/yocto/message/48079
Mute This Topic: https://lists.yoctoproject.org/mt/69966274/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-