mkvendor.sh: Initial commit of a7y18lte

This commit is contained in:
Waldemar Tomme 2023-04-03 23:03:59 +02:00
commit 4dcae85aef
8 changed files with 93 additions and 0 deletions

8
AndroidBoard.mk Normal file
View File

@ -0,0 +1,8 @@
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
ALL_PREBUILT += $(INSTALLED_KERNEL_TARGET)
# include the non-open-source counterpart to this file
-include vendor/samsung/a7y18lte/AndroidBoardVendor.mk

2
AndroidProducts.mk Normal file
View File

@ -0,0 +1,2 @@
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/device_a7y18lte.mk

31
BoardConfig.mk Normal file
View File

@ -0,0 +1,31 @@
USE_CAMERA_STUB := true
# inherit from the proprietary version
-include vendor/samsung/a7y18lte/BoardConfigVendor.mk
TARGET_ARCH := arm
TARGET_NO_BOOTLOADER := true
TARGET_BOARD_PLATFORM := unknown
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_CPU_VARIANT := cortex-a7
TARGET_CPU_SMP := true
ARCH_ARM_HAVE_TLS_REGISTER := true
TARGET_BOOTLOADER_BOARD_NAME := a7y18lte
BOARD_KERNEL_CMDLINE := no_console_suspend
BOARD_KERNEL_BASE := 0x10000000
BOARD_KERNEL_PAGESIZE := 00000800
# fix this up by examining /proc/mtd on a running device
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x00380000
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 0x00480000
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 0x08c60000
BOARD_USERDATAIMAGE_PARTITION_SIZE := 0x105c0000
BOARD_FLASH_BLOCK_SIZE := 131072
TARGET_PREBUILT_KERNEL := device/samsung/a7y18lte/kernel
BOARD_HAS_NO_SELECT_BUTTON := true

15
cm.mk Normal file
View File

@ -0,0 +1,15 @@
# Release name
PRODUCT_RELEASE_NAME := a7y18lte
# Inherit some common CM stuff.
$(call inherit-product, vendor/cm/config/common_full_phone.mk)
# Inherit device configuration
$(call inherit-product, device/samsung/a7y18lte/device_a7y18lte.mk)
## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := a7y18lte
PRODUCT_NAME := cm_a7y18lte
PRODUCT_BRAND := samsung
PRODUCT_MODEL := a7y18lte
PRODUCT_MANUFACTURER := samsung

24
device_a7y18lte.mk Normal file
View File

@ -0,0 +1,24 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk)
# The gps config appropriate for this device
$(call inherit-product, device/common/gps/gps_us_supl.mk)
$(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
PRODUCT_NAME := full_a7y18lte
PRODUCT_DEVICE := a7y18lte

0
kernel Normal file
View File

10
recovery.fstab Normal file
View File

@ -0,0 +1,10 @@
# mount point fstype device [device2]
/boot mtd boot
/cache yaffs2 cache
/data yaffs2 userdata
/misc mtd misc
/recovery mtd recovery
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
/system yaffs2 system
/sd-ext ext4 /dev/block/mmcblk0p2

3
system.prop Normal file
View File

@ -0,0 +1,3 @@
#
# system.prop for a7y18lte
#