-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ANDROID: drop KERNEL_DIR setting in build.config.common
And replace many references of ${ROOT_DIR}/common with ${ROOT_DIR}/${KERNEL_DIR}, which makes it a lot easier to branch off of ACK and update the KERNEL_DIR. The variable of KERNEL_DIR will be set in build/_setup_env.sh to the directory of the build config file by default if it's not set explicitly in the build config file or in environment. Test: build test with following configs common/build.config.gki.aarch64 common/build.config.db845c common/build.config.hikey960 common-modules/virtual-device/build.config.cuttlefish.aarch64 common-modules/virtual-device/build.config.goldfish.aarch64 Bug: 162785964 Change-Id: I790ac0ded10bd790484f14c6f93d53e06c38b830 Signed-off-by: Will McVicker <[email protected]> Signed-off-by: Yongqin Liu <[email protected]> (cherry picked from commit 931718fa65fe5e34d143250c048f591a7d74e5f8)
- Loading branch information
Showing
13 changed files
with
31 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
. ${ROOT_DIR}/common/build.config.common | ||
. ${ROOT_DIR}/common/build.config.aarch64 | ||
. ${ROOT_DIR}/common/build.config.allmodconfig | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.aarch64 | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.allmodconfig | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
. ${ROOT_DIR}/common/build.config.common | ||
. ${ROOT_DIR}/common/build.config.arm | ||
. ${ROOT_DIR}/common/build.config.allmodconfig | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.arm | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.allmodconfig | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
. ${ROOT_DIR}/common/build.config.common | ||
. ${ROOT_DIR}/common/build.config.x86_64 | ||
. ${ROOT_DIR}/common/build.config.allmodconfig | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.x86_64 | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.allmodconfig | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
BRANCH=android11-5.4 | ||
KMI_GENERATION=0 | ||
KERNEL_DIR=common | ||
|
||
CC=clang | ||
LD=ld.lld | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
. ${ROOT_DIR}/common/build.config.gki.aarch64 | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki.aarch64 | ||
TRIM_NONLISTED_KMI="" | ||
KMI_SYMBOL_LIST_STRICT_MODE="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
. ${ROOT_DIR}/common/build.config.gki.x86_64 | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki.x86_64 | ||
TRIM_NONLISTED_KMI="" | ||
KMI_SYMBOL_LIST_STRICT_MODE="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
. ${ROOT_DIR}/common/build.config.common | ||
. ${ROOT_DIR}/common/build.config.x86_64 | ||
. ${ROOT_DIR}/common/build.config.gki | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.x86_64 | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
. ${ROOT_DIR}/common/build.config.common | ||
. ${ROOT_DIR}/common/build.config.aarch64 | ||
. ${ROOT_DIR}/common/build.config.gki_kasan | ||
|
||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.aarch64 | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki_kasan |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
. ${ROOT_DIR}/common/build.config.common | ||
. ${ROOT_DIR}/common/build.config.x86_64 | ||
. ${ROOT_DIR}/common/build.config.gki_kasan | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.x86_64 | ||
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki_kasan | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters