summaryrefslogtreecommitdiff
path: root/rb5.mk
diff options
context:
space:
mode:
Diffstat (limited to 'rb5.mk')
-rw-r--r--rb5.mk22
1 files changed, 1 insertions, 21 deletions
diff --git a/rb5.mk b/rb5.mk
index 2cda9b0..8d4f174 100644
--- a/rb5.mk
+++ b/rb5.mk
@@ -1,27 +1,7 @@
-ifndef TARGET_KERNEL_USE
-TARGET_KERNEL_USE := 5.15
-endif
-RB5_KERNEL_DIR := device/linaro/dragonboard-kernel/android-$(TARGET_KERNEL_USE)
-
-# Inherit the full_base and device configurations
-$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
+$(call inherit-product, device/linaro/dragonboard/full.mk)
$(call inherit-product, device/linaro/dragonboard/rb5/device.mk)
-$(call inherit-product, device/linaro/dragonboard/device-common.mk)
-$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base.mk)
# Product overrides
PRODUCT_NAME := rb5
PRODUCT_DEVICE := rb5
PRODUCT_BRAND := Android
-
-ifndef RB5_USES_GKI
- RB5_USES_GKI := true
-endif
-
-ifeq ($(RB5_USES_GKI), true)
- RB5_MODS := $(wildcard $(RB5_KERNEL_DIR)/*.ko)
- ifneq ($(RB5_MODS),)
- RB5_SKIP_MODS := %/venus-core.ko %/venus-dec.ko %/venus-enc.ko
- BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(filter-out $(RB5_SKIP_MODS),$(RB5_MODS))
- endif
-endif