device-common: TARGET_USES_GKI is always true am: 07776a385f
Original change: https://android-review.googlesource.com/c/device/linaro/dragonboard/+/2711577
Change-Id: I2d5d232425a907253b5580b155a7cf1a0286f597
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/device-common.mk b/device-common.mk
index d2d2036..c8756d9 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -15,16 +15,10 @@
#
TARGET_KERNEL_DIR ?= device/linaro/dragonboard-kernel/android-$(TARGET_KERNEL_USE)
+TARGET_MODS := $(wildcard $(TARGET_KERNEL_DIR)/*.ko)
-TARGET_USES_GKI ?= true
-
-ifeq ($(TARGET_USES_GKI), true)
- TARGET_MODS := $(wildcard $(TARGET_KERNEL_DIR)/*.ko)
- ifneq ($(TARGET_MODS),)
- BOARD_DO_NOT_STRIP_VENDOR_RAMDISK_MODULES := true
- BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(TARGET_MODS)
- endif
-endif
+BOARD_DO_NOT_STRIP_VENDOR_RAMDISK_MODULES := true
+BOARD_VENDOR_RAMDISK_KERNEL_MODULES := $(TARGET_MODS)
PRODUCT_SHIPPING_API_LEVEL := 31