hiphi: gpt-utils: Use Generic Kernel Headers

* Kernel source will no longer be needed to build the recovery

Signed-off-by: Sushrut1101 <guptasushrut@gmail.com>
Signed-off-by: 7Soldier <reg.fm4@gmail.com>
This commit is contained in:
Sushrut1101 2022-05-14 15:59:17 +05:30 committed by 7Soldier
parent f70785956d
commit dfd6f8f016

View file

@ -14,7 +14,6 @@
// limitations under the License.
//
cc_library {
name: "libgptutils.moto_sm8450",
vendor: true,
@ -27,6 +26,8 @@ cc_library {
cflags: [
"-Wall",
"-Werror",
"-Wno-unused-parameter",
"-D_GENERIC_KERNEL_HEADERS",
"-D_BSG_FRAMEWORK_KERNEL_HEADERS",
],
srcs: [
@ -35,7 +36,7 @@ cc_library {
],
owner: "qti",
header_libs: [
"generated_kernel_headers",
"device_kernel_headers",
],
export_include_dirs: ["."],
}