Commit graph

4 commits

Author SHA1 Message Date
Will McVicker
e2a92b6020 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-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 <willmcvicker@google.com>
Signed-off-by: Yongqin Liu <yongqin.liu@linaro.org>
(cherry picked from commit 931718fa65fe5e34d143250c048f591a7d74e5f8)
2020-09-25 15:14:51 +08:00
Will McVicker
05b997b4f0 ANDROID: build: update ABI definitions
Update these defines to be inclusive:
* KMI_WHITELIST -> KMI_SYMBOL_LIST
* ADDITIONAL_KMI_WHITELISTS -> ADDITIONAL_KMI_SYMBOL_LISTS
* KMI_WHITELIST_STRICT_MODE -> KMI_SYMBOL_LIST_STRICT_MODE

Change-Id: Ie247fb7a1ef9ff27c06003ab0861fc9a790b10c6
Signed-off-by: Will McVicker <willmcvicker@google.com>
Bug: 161912438
2020-07-28 17:39:44 +00:00
Quentin Perret
5b8e4a1610 ANDROID: Fix build.config.gki-debug
The gki-debug builds should not have their KMI trimmed, so make sure to
disable KMI_WHITELIST_STRICT_MODE.

Bug: 150772411
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: I289fa8183603bc393eed4cc6089906d0d6fc51c5
2020-05-20 11:50:18 +00:00
Quentin Perret
8795862784 ANDROID: Add build.config.gki-debug.aarch64
Add a gki-debug build.config file which disables whitelisting trimming.
This is intended to ease GKI development.

Bug: 150772411
Signed-off-by: Quentin Perret <qperret@google.com>
Change-Id: Ia5241f17b1cf730b357c6501180834bd01eb589f
2020-03-16 14:29:13 +00:00