From 8e9c39b7584efe607fe9c5604d061c9a7ab9da01 Mon Sep 17 00:00:00 2001 From: Waldemar Tomme Date: Tue, 4 Apr 2023 09:39:05 +0200 Subject: [PATCH] Compile kernel --- BoardConfig.mk | 15 +++++++++------ device.mk | 10 ---------- lineage_a7y18lte.mk | 4 ++++ 3 files changed, 13 insertions(+), 16 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index 8477f79..b339a2f 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -3,12 +3,13 @@ USE_CAMERA_STUB := true # inherit from the proprietary version -include vendor/samsung/a7y18lte/BoardConfigVendor.mk -TARGET_ARCH := arm +TARGET_ARCH := arm64 TARGET_NO_BOOTLOADER := true -TARGET_BOARD_PLATFORM := unknown -TARGET_CPU_ABI := armeabi-v7a -TARGET_CPU_ABI2 := armeabi -TARGET_ARCH_VARIANT := armv7-a-neon +TARGET_BOARD_PLATFORM := exynos7 +TARGET_SOC := exynos7885 +TARGET_CPU_ABI := arm64-v8a +TARGET_CPU_ABI2 := +TARGET_ARCH_VARIANT := armv8-a TARGET_CPU_VARIANT := cortex-a7 TARGET_CPU_SMP := true ARCH_ARM_HAVE_TLS_REGISTER := true @@ -18,6 +19,7 @@ TARGET_BOOTLOADER_BOARD_NAME := a7y18lte BOARD_KERNEL_CMDLINE := no_console_suspend BOARD_KERNEL_BASE := 0x10000000 BOARD_KERNEL_PAGESIZE := 00000800 +BOARD_KERNEL_IMAGE_NAME := zImage # fix this up by examining /proc/mtd on a running device BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00380000 @@ -26,6 +28,7 @@ BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x08c60000 BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000 BOARD_FLASH_BLOCK_SIZE := 131072 -TARGET_PREBUILT_KERNEL := device/samsung/a7y18lte/kernel +TARGET_KERNEL_SOURCE := kernel/samsung/a7y18lte +TARGET_KERNEL_CONFIG := exynos7885-a7y18lte_defconfig BOARD_HAS_NO_SELECT_BUTTON := true diff --git a/device.mk b/device.mk index d645f04..00ce9a9 100644 --- a/device.mk +++ b/device.mk @@ -7,16 +7,6 @@ $(call inherit-product-if-exists, vendor/samsung/a7y18lte/a7y18lte-vendor.mk) DEVICE_PACKAGE_OVERLAYS += device/samsung/a7y18lte/overlay - -ifeq ($(TARGET_PREBUILT_KERNEL),) - LOCAL_KERNEL := device/samsung/a7y18lte/kernel -else - LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) -endif - -PRODUCT_COPY_FILES += \ - $(LOCAL_KERNEL):kernel - $(call inherit-product, build/target/product/full.mk) PRODUCT_BUILD_PROP_OVERRIDES += BUILD_UTC_DATE=0 diff --git a/lineage_a7y18lte.mk b/lineage_a7y18lte.mk index 8f89650..4a7c94c 100644 --- a/lineage_a7y18lte.mk +++ b/lineage_a7y18lte.mk @@ -7,6 +7,10 @@ $(call inherit-product, vendor/lineage/config/common_full_phone.mk) # Inherit device configuration $(call inherit-product, device/samsung/a7y18lte/device.mk) +# Boot animation +TARGET_SCREEN_HEIGHT := 2220 +TARGET_SCREEN_WIDTH := 1080 + ## Device identifier. This must come after all inclusions PRODUCT_DEVICE := a7y18lte PRODUCT_NAME := lineage_a7y18lte