Skip to content

Commit

Permalink
Merge "m8: some cleanup and re-org" into android-5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
CaptainThrowback authored and Gerrit Code Review committed Mar 21, 2019
2 parents dbd46cc + 96ab30b commit 35c7c8c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 35 deletions.
10 changes: 5 additions & 5 deletions BoardConfig.mk
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,7 @@ TARGET_USE_KRAIT_BIONIC_OPTIMIZATION := true
BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 zcache androidboot.selinux=permissive
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_SEPARATED_DT := true
BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x02008000 --dt device/htc/m8/dt.img --tags_offset 0x01e00000
BOARD_CUSTOM_BOOTIMG_MK := device/htc/m8/mkbootimg.mk
BOARD_MKBOOTIMG_ARGS := --kernel_offset 0x00008000 --ramdisk_offset 0x02008000 --dt device/$(BOARD_VENDOR)/$(TARGET_DEVICE)/prebuilt/dt.img --tags_offset 0x01e00000

# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 16777216
Expand All @@ -73,11 +71,13 @@ TARGET_USERIMAGES_USE_F2FS := true
BOARD_HAS_LARGE_FILESYSTEM := true
BOARD_HAS_NO_MISC_PARTITION := true
BOARD_HAS_NO_SELECT_BUTTON := true
BOARD_NEEDS_LZMA_MINIGZIP := true
BOARD_RECOVERY_SWIPE := true
BOARD_USES_MMCUTILS := true
COMMON_GLOBAL_CPPFLAGS += -DBOARD_RECOVERY_BLDRMSG_OFFSET=2048
TARGET_PREBUILT_KERNEL := device/htc/m8/kernel
TARGET_RECOVERY_DEVICE_MODULES := chargeled
TARGET_PREBUILT_KERNEL := device/$(BOARD_VENDOR)/$(TARGET_DEVICE)/prebuilt/kernel
TARGET_RECOVERY_DEVICE_MODULES := chargeled tzdata
TW_RECOVERY_ADDITIONAL_RELINK_FILES += $(TARGET_OUT)/usr/share/zoneinfo/tzdata

# TWRP Build Flags
TW_THEME := portrait_hdpi
Expand Down
26 changes: 0 additions & 26 deletions mkbootimg.mk

This file was deleted.

4 changes: 0 additions & 4 deletions omni_m8.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ $(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
# Inherit some common Omni stuff.
$(call inherit-product, vendor/omni/config/common.mk)

# Time Zone data for Recovery
PRODUCT_COPY_FILES += \
bionic/libc/zoneinfo/tzdata:recovery/root/system/usr/share/zoneinfo/tzdata

## Device identifier. This must come after all inclusions
PRODUCT_DEVICE := m8
PRODUCT_NAME := omni_m8
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions recovery/root/system/usr/share/zoneinfo/tzdata

0 comments on commit 35c7c8c

Please sign in to comment.