Whamcloud - gitweb
Always build namei.o so that building with "configure --disable-debugfs" works
authorTheodore Ts'o <tytso@mit.edu>
Mon, 17 May 2010 23:32:19 +0000 (19:32 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Mon, 17 May 2010 23:32:19 +0000 (19:32 -0400)
namei.o is also needed by e2initrd_helper.

Long term, if we care about reduced e2fsprogs builds, we need a more
general solution for deciding what .o files are needed for a
particular build.  Given that install floppies are going (gone?) the
way the dodo bird, we probably don't care, though.

Addresses-Sourceforge-Bug: #2911433

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
lib/ext2fs/Makefile.in

index a350181..a71d12c 100644 (file)
@@ -7,7 +7,7 @@ INSTALL = @INSTALL@
 
 @MCONFIG@
 
-@DEBUGFS_CMT@DEBUGFS_LIB_OBJS = bb_compat.o inode_io.o namei.o write_bb_file.o
+@DEBUGFS_CMT@DEBUGFS_LIB_OBJS = bb_compat.o inode_io.o write_bb_file.o
 
 MK_CMDS=       _SS_DIR_OVERRIDE=../ss ../ss/mk_cmds
 
@@ -61,6 +61,7 @@ OBJS= $(DEBUGFS_LIB_OBJS) $(RESIZE_LIB_OBJS) $(E2IMAGE_LIB_OBJS) \
        lookup.o \
        mkdir.o \
        mkjournal.o \
+       namei.o \
        native.o \
        newdir.o \
        openfs.o \