[PATCH 2/4] Fix bootstrap warning: noinst_PROGRAMS was already defined

Cyril Bur cyrilbur at gmail.com
Thu Nov 16 14:49:12 AEDT 2017


utils/Makefile.am:27: warning: noinst_PROGRAMS was already defined in
condition TRUE, which includes condition HAVE_LIBFDT ...

utils/Makefile.am should probably be adding to noinst_PROGRAMS rather
than reclaring it.

Signed-off-by: Cyril Bur <cyrilbur at gmail.com>
---
 utils/Makefile.am | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/utils/Makefile.am b/utils/Makefile.am
index 3ef3fe8..c9015a0 100644
--- a/utils/Makefile.am
+++ b/utils/Makefile.am
@@ -24,7 +24,7 @@ utils_hooks_30_dtb_updates_LDADD = $(top_builddir)/lib/libpbcore.la \
 		$(FDT_LIBS)
 
 if HAVE_LIBFDT
-noinst_PROGRAMS = \
+noinst_PROGRAMS += \
 	utils/hooks/30-dtb-updates
 endif
 
-- 
2.15.0



More information about the Petitboot mailing list