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