Compile kernel

This commit is contained in:
Waldemar Tomme 2023-04-04 09:39:05 +02:00
parent 343c179f96
commit 8e9c39b758
3 changed files with 13 additions and 16 deletions

View File

@ -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

View File

@ -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

View File

@ -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