Skip to content

Commit

Permalink
Update twrp_surya.mk
Browse files Browse the repository at this point in the history
  • Loading branch information
brigudav authored Jul 2, 2022
1 parent 8c84aa5 commit fdec9ad
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions twrp_surya.mk
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ PRODUCT_RELEASE_NAME := $(lastword $(subst /, ,$(lastword $(subst _, ,$(firstwor
# Custom vendor used in build tree (automatically taken from this file's prefix)
CUSTOM_VENDOR := $(lastword $(subst /, ,$(firstword $(subst _, ,$(firstword $(MAKEFILE_LIST))))))

# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)

# Inherit from our custom product configuration
$(call inherit-product, vendor/$(CUSTOM_VENDOR)/config/common.mk)

Expand All @@ -30,6 +26,8 @@ PRODUCT_BRAND := POCO
PRODUCT_MODEL := POCO X3
PRODUCT_MANUFACTURER := $(BOARD_VENDOR)

# Device path for OEM device tree
DEVICE_PATH := device/$(BOARD_VENDOR)/$(PRODUCT_DEVICE)

# Inherit from hardware-specific part of the product configuration
$(call inherit-product, device/$(BOARD_VENDOR)/$(PRODUCT_DEVICE)/device.mk)
#
$(call inherit-product, $(DEVICE_PATH)/device.mk)

0 comments on commit fdec9ad

Please sign in to comment.