mirror of
https://github.com/gnuton/asuswrt-merlin.ng.git
synced 2025-05-18 23:41:30 +02:00
…
|
||
---|---|---|
.. | ||
core | ||
extras/ext4_utils | ||
extras_latest/extras | ||
libselinux | ||
zlib | ||
make_ext4fs_android_4.3_src.tar.gz | ||
Makefile | ||
README |
############### # make_ext4fs # ############### This tool is built utilizing android 4.3 source code. To build the tool from original sources please follow these instructions: https://gist.github.com/shakalaca/4942cfb8a4869325cdc9 git clone --branch android-4.3_r3 https://android.googlesource.com/platform/external/libselinux git clone --branch android-4.3_r3 https://android.googlesource.com/platform/system/core git clone --branch android-4.3_r3 https://android.googlesource.com/platform/external/zlib git clone --branch android-4.3_r3 https://android.googlesource.com/platform/system/extras cd libselinux/src gcc -c callbacks.c check_context.c freecon.c init.c label.c label_file.c label_android_property.c -I../include -I../../core/include -DHOST ar rcs libselinux.a *.o cd ../.. cd zlib/src gcc -c adler32.c compress.c crc32.c deflate.c gzclose.c gzlib.c gzread.c gzwrite.c infback.c inflate.c inftrees.c inffast.c trees.c uncompr.c zutil.c -O3 -USE_MMAP -I.. ar rcs libz.a *.o cd ../.. cd core/libsparse gcc -c backed_block.c output_file.c sparse.c sparse_crc32.c sparse_err.c sparse_read.c -Iinclude ar rcs libsparse.a *.o cd ../.. cd extras/ext4_utils gcc -o make_ext4fs make_ext4fs_main.c make_ext4fs.c ext4fixup.c ext4_utils.c allocate.c contents.c extent.c indirect.c uuid.c sha1.c wipe.c crc16.c -I../../libselinux/include -I../../core/libsparse/include -I../../core/include/ ../../libselinux/src/libselinux.a ../../core/libsparse/libsparse.a ../../zlib/src/libz.a -DHOST -DANDROID