Skip to content
Snippets Groups Projects
Commit 8882177e authored by Raghuveer Pullakandam's avatar Raghuveer Pullakandam
Browse files

EXT4 specific changes done.
parent 2672115a
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@ SUBDIR = os/imagezip
DISTFILES = global.h imagehdr.h queue.h sliceinfo.h \
imagedump.c imagedump.8 imagezip.c imagezip.8 \
imageunzip.c crc.c disksize.c imageunzip.8 \
extfs/*.[hc] fat/*.[hc] ffs/*.[hc] ntfs/*.[hc] shd/*.[hc] \
extfs/*.[hc] ext4fs/*.[hc] fat/*.[hc] ffs/*.[hc] ntfs/*.[hc] shd/*.[hc] \
hashmap/*.[hc]
EXPANDCOPYRIGHT = /usr/site/lib/copyright/expand-copyr
......@@ -62,6 +62,7 @@ WITH_EXTFS = 1
WITH_NTFS = @WINSUPPORT@
WITH_FAT = @WINSUPPORT@
WITH_HASH = 1
WITH_EXT4FS = 0
include $(OBJDIR)/Makeconf
......@@ -107,6 +108,13 @@ SUBDIRS += extfs
ZIPLIBS += extfs/libextfs.a
endif
# EXT4
ifeq ($(WITH_EXT4FS),1)
CFLAGS += -DWITH_EXT4FS
SUBDIRS += ext4fs
ZIPLIBS += ext4fs/libext4fs.a
endif
# with NTFS
ifeq ($(WITH_NTFS),1)
ifndef HAVE_GCC3
......@@ -186,7 +194,7 @@ imagehash: imagehash.o version.o
imagehash.o: imagehash.c
$(CC) -c $(HASHCFLAGS) -o imagehash.o $<
ffs extfs ntfs fat shd hashmap:
ffs extfs ext4fs ntfs fat shd hashmap:
@$(MAKE) SUBDIRCFLAGS="$(SUBDIRCFLAGS)" -C $@ all
imagezip.o: sliceinfo.h imagehdr.h global.h
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment