Switch kernel directory to control by build flag
Bug: 337161745 Change-Id: I48c8a9863ea57591ab5ce9dfc294a5274567d46c Merged-In: I6d8e981b2756964dd7b1df38de13fc6a0ae04428
This commit is contained in:
parent
3564c8ba0c
commit
1d8c328f4b
1 changed files with 8 additions and 2 deletions
|
@ -14,8 +14,14 @@
|
|||
# limitations under the License.
|
||||
#
|
||||
|
||||
TARGET_KERNEL_DIR ?= device/google/comet-kernel
|
||||
TARGET_BOARD_KERNEL_HEADERS := device/google/comet-kernel/kernel-headers
|
||||
ifdef RELEASE_GOOGLE_COMET_KERNEL_DIR
|
||||
TARGET_KERNEL_DIR ?= $(RELEASE_GOOGLE_COMET_KERNEL_DIR)
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= $(RELEASE_GOOGLE_COMET_KERNEL_DIR)/kernel-headers
|
||||
else
|
||||
TARGET_KERNEL_DIR ?= device/google/comet-kernels/6.1/24D1
|
||||
TARGET_BOARD_KERNEL_HEADERS ?= device/google/comet-kernels/6.1/24D1/kernel-headers
|
||||
endif
|
||||
|
||||
TARGET_RECOVERY_DEFAULT_ROTATION := ROTATION_RIGHT
|
||||
|
||||
ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue