LuK1337
6cc5af6311
sm8150-common: gpt-utils: Drop unnecessary include
...
* When using generated_kernel_headers including
asm/byteorder.h will cause a warning due to
unused static functions.
Change-Id: I2a74ec92487c13c4645048c96da8cb92b3cbd9f0
2019-10-06 19:59:20 +02:00
LuK1337
8cfd59d3ee
sm8150-common: gpt-utils: Use generated_kernel_headers
...
Change-Id: Id56f1c0603ff13b5d64eb4db33807ac13dcdd619
2019-10-06 19:59:20 +02:00
Tao Bao
44db26d829
sm8150-common: gpt-utils: Address the warnings
...
[ 11% 2/18] target C++: libgptutils <= device/google/crosshatch/gpt-utils/gpt-utils.cpp
In file included from device/google/crosshatch/gpt-utils/gpt-utils.cpp:54:
system/core/libcutils/include_vndk/cutils/log.h:38:2: warning: "Deprecated: don't include cutils/log.h, use either android/log.h or log/log.h" [-W#warnings]
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:750:17: warning: unused variable 'ufs_dir_stat' [-Wunused-variable]
struct stat ufs_dir_stat;
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:13: warning: unused variable 'r' [-Wunused-variable]
int r, fd;
^
device/google/crosshatch/gpt-utils/gpt-utils.cpp:973:16: warning: unused variable 'fd' [-Wunused-variable]
int r, fd;
^
4 warnings generated.
Test: lunch blueline-userdebug && m -j libgptutils
Change-Id: Idd9174276d8a5b7b77c2ec48c745a78184f65fcf
2019-10-06 19:59:20 +02:00
Hridya Valsaraju
8ce5622c61
sm8150-common: Build libgptutils with Android.bp
...
This is required to build bootctrl.sdm845 with Android.bp.
Bug: 78793464
Test: make
Change-Id: Iff4f50ad363cc003d60a5380addd79749b547514
2019-10-06 19:59:20 +02:00
Logan Chien
54e6eda429
sm8150-common: libgptutils: Replace libsparse.so with libz.so
...
This commit replaces sparse_crc32() with crc32() from libz.so because
libsparse.so won't be vendor available.
Bug: 38303202
Test: android builds
Change-Id: Ib318da74b5d55f729cbd40d9a62da53e6316fe7b
2019-07-30 14:58:02 +02:00
Peter Cai
3ee88c428e
guacamole: gpt-utils: kang from fajita
2019-06-19 13:28:37 +08:00