mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 05:36:47 +00:00
e2fsprogs: build binaries needed for image creation
build e2fsck, mke2fs and tune2fs and install them to toolchain Signed-off-by: Matthias Reichl <hias@horus.com>
This commit is contained in:
parent
65beb0f276
commit
1279399385
@ -20,7 +20,24 @@ fi
|
||||
|
||||
PKG_CONFIGURE_OPTS_HOST="--prefix=$TOOLCHAIN/ \
|
||||
--bindir=$TOOLCHAIN/bin \
|
||||
--sbindir=$TOOLCHAIN/sbin"
|
||||
--sbindir=$TOOLCHAIN/sbin \
|
||||
--enable-verbose-makecmds \
|
||||
--disable-symlink-install \
|
||||
--disable-symlink-build \
|
||||
--disable-subset \
|
||||
--disable-debugfs \
|
||||
--disable-imager \
|
||||
--disable-resizer \
|
||||
--disable-defrag \
|
||||
--disable-fsck \
|
||||
--disable-e2initrd-helper \
|
||||
--enable-tls \
|
||||
--disable-uuid \
|
||||
--disable-uuidd \
|
||||
--disable-nls \
|
||||
--disable-rpath \
|
||||
--disable-fuse2fs \
|
||||
--with-gnu-ld"
|
||||
|
||||
pre_configure() {
|
||||
PKG_CONFIGURE_OPTS_INIT="BUILD_CC=$HOST_CC \
|
||||
@ -83,12 +100,11 @@ makeinstall_init() {
|
||||
fi
|
||||
}
|
||||
|
||||
make_host() {
|
||||
make -C lib/et
|
||||
make -C lib/ext2fs
|
||||
}
|
||||
|
||||
makeinstall_host() {
|
||||
make -C lib/et LIBMODE=644 install
|
||||
make -C lib/ext2fs LIBMODE=644 install
|
||||
mkdir -p $TOOLCHAIN/sbin
|
||||
cp e2fsck/e2fsck $TOOLCHAIN/sbin
|
||||
cp misc/mke2fs $TOOLCHAIN/sbin
|
||||
cp misc/tune2fs $TOOLCHAIN/sbin
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user