25 lines
1.1 KiB
Diff
25 lines
1.1 KiB
Diff
From 3c8dd9d84ec1b52ddd449ccaf7a8f94f9d0f2932 Mon Sep 17 00:00:00 2001
|
|
From: nyyu <mail@nyyu.dev>
|
|
Date: Sun, 25 Sep 2022 14:54:37 +0200
|
|
Subject: [PATCH] fix: build kernel header
|
|
|
|
---
|
|
build/soong/Android.bp | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/build/soong/Android.bp b/build/soong/Android.bp
|
|
index 5cbcd19b..02ed36da 100644
|
|
--- a/build/soong/Android.bp
|
|
+++ b/build/soong/Android.bp
|
|
@@ -21,7 +21,7 @@ lineage_generator {
|
|
name: "generated_kernel_includes",
|
|
|
|
// The headers make command
|
|
- cmd: "$(PATH_OVERRIDE_SOONG) $(KERNEL_MAKE_CMD) $(KERNEL_MAKE_FLAGS) -C $(TARGET_KERNEL_SOURCE) O=$(KERNEL_BUILD_OUT_PREFIX)$(genDir) ARCH=$(KERNEL_ARCH) $(KERNEL_CROSS_COMPILE) headers_install",
|
|
+ cmd: "mkdir -p $(KERNEL_BUILD_OUT_PREFIX)$(genDir) && $(PATH_OVERRIDE_SOONG) $(KERNEL_MAKE_CMD) $(KERNEL_MAKE_FLAGS) -C $(TARGET_KERNEL_SOURCE) O=$(KERNEL_BUILD_OUT_PREFIX)$(genDir) ARCH=$(KERNEL_ARCH) $(KERNEL_CROSS_COMPILE) headers_install",
|
|
|
|
// Directories that can be imported by a cc_* module generated_headers property
|
|
export_include_dirs: [
|
|
--
|
|
2.37.3
|
|
|