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:
parent
f70785956d
commit
dfd6f8f016
1 changed files with 3 additions and 2 deletions
|
@ -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: ["."],
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue