e2fsprogs.mk (850B)
1 TARG = e2fsprogs 2 3 <$mkbuild/mk.common-noinst 4 5 e2fsprogs:QV: 6 CC="$CC -static" CFLAGS="-D__uint64_t=u_int64_t" ./configure \ 7 --build="${TOOLCHAIN_TRIPLET}" \ 8 --host="${HOST_TOOLCHAIN_TRIPLET}" \ 9 --prefix="$PREFIX" \ 10 --disable-nls \ 11 --bindir="$BINDIR" \ 12 --sbindir="$BINDIR" \ 13 --libexecdir="$BINDIR" \ 14 --mandir="$PREFIX/share/man" 15 make -j$nprocs 16 # copy files for use as a dependency. 17 rm -rf libdev 18 mkdir -p libdev 19 cp -a lib libdev/ 20 rm -f libdev/lib/config.h* 21 22 install:QV: 23 make -j$nprocs install DESTDIR="$ROOT" 24 cd "$ROOT""$BINDIR" 25 rm -f mkfs.ext2 mkfs.ext3 mkfs.ext4 mkfs.ext4dev 26 rm -f fsck.ext2 fsck.ext3 fsck.ext4 fsck.ext4dev 27 ln -s mke2fs mkfs.ext2 28 ln -s mke2fs mkfs.ext3 29 ln -s mke2fs mkfs.ext4 30 ln -s mke2fs mkfs.ext4dev 31 ln -s e2fsck fsck.ext2 32 ln -s e2fsck fsck.ext3 33 ln -s e2fsck fsck.ext4 34 ln -s e2fsck fsck.ext4dev