Skip to contentSkip to conversation

fix build of jffs2reader and jffs2dump if zlib or lzo headers are not in default paths

PATCH Applied Rolf Eike Beer 2 participants 2 messages Jul 31, 2020 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix build of jffs2reader and jffs2dump if zlib or lzo headers are not in default paths

From 17f6407f22b8f879e6b788cb4e3a67d856abe02e Mon Sep 17 00:00:00 2001
From: Rolf Eike Beer <[email protected]>
Date: Fri, 15 May 2020 14:56:48 +0200
Subject: [PATCH] fix build of jffs2reader and jffs2dump if zlib or lzo
headers are not in default paths

---
 jffsX-utils/Makemodule.am | 2 ++
 1 file changed, 2 insertions(+)
jffsX-utils/Makemodule.am +2 -0
index fb181de..9fd734b 100644
@@ -12,9 +12,11 @@ mkfs_jffs2_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS)
 
 jffs2reader_SOURCES = jffsX-utils/jffs2reader.c
 jffs2reader_LDADD = libmtd.a $(ZLIB_LIBS) $(LZO_LIBS)
+jffs2reader_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS)
 
 jffs2dump_SOURCES = jffsX-utils/jffs2dump.c
 jffs2dump_LDADD = libmtd.a $(ZLIB_LIBS) $(LZO_LIBS)
+jffs2dump_CPPFLAGS = $(AM_CPPFLAGS) $(ZLIB_CFLAGS) $(LZO_CFLAGS)
 
 sumtool_SOURCES = jffsX-utils/sumtool.c
 sumtool_LDADD = libmtd.a
Signature · 17 lines
2.26.2

-- 
Rolf Eike Beer, emlix GmbH, http://www.emlix.com
Fon +49 551 30664-0, Fax +49 551 30664-11
Gothaer Platz 3, 37083 Göttingen, Germany
Sitz der Gesellschaft: Göttingen, Amtsgericht Göttingen HR B 3160
Geschäftsführung: Heike Jordan, Dr. Uwe Kracke – Ust-IdNr.: DE 205 198 055

emlix - smart embedded open source




______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/