Commit a7b2d0a6 authored by Ethan Chen's avatar Ethan Chen Committed by Sam Mortimer
Browse files

build: Separate platform macros from QCOM platform definition

* The macros used in the file formerly called "qcom_utils.mk" are
  actually generic and not QCOM-specific. Move the QCOM_BOARD definitions
  to a QCOM-specific location, and name the remaning macros something more
  generic.

Change-Id: I6747bc9201e56b456caf251122057d7dbc233f1c
parent 66ce59c8
......@@ -22,8 +22,5 @@ FRAMEWORK_LINEAGE_API_NEEDS_UPDATE_TEXT := $(TOPDIR)vendor/lineage/build/core/ap
BUILD_RRO_SYSTEM_PACKAGE := $(TOPDIR)vendor/lineage/build/core/system_rro.mk
# Rules for MTK targets
include $(TOPDIR)vendor/lineage/build/core/mtk_target.mk
# Rules for QCOM targets
include $(TOPDIR)vendor/lineage/build/core/qcom_target.mk
......@@ -5,5 +5,8 @@ define uniq
$(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))
endef
# Include QCOM macros
include vendor/lineage/build/core/qcom_utils.mk
# Include board/platform macros
include vendor/lineage/build/core/utils.mk
# Include vendor platform definitions
include vendor/lineage/build/core/vendor/*.mk
# Bring in Mediatek helper macros
include vendor/lineage/build/core/mtk_utils.mk
# Board platforms lists to be used for
# TARGET_BOARD_PLATFORM specific featurization
# A Family
QCOM_BOARD_PLATFORMS += msm7x27a
QCOM_BOARD_PLATFORMS += msm7x30
QCOM_BOARD_PLATFORMS += msm8660
QCOM_BOARD_PLATFORMS += msm8960
# B Family
QCOM_BOARD_PLATFORMS += msm8226
QCOM_BOARD_PLATFORMS += msm8610
QCOM_BOARD_PLATFORMS += msm8974
QCOM_BOARD_PLATFORMS += apq8084
# B64 Family
QCOM_BOARD_PLATFORMS += msm8992
QCOM_BOARD_PLATFORMS += msm8994
# BR Family
QCOM_BOARD_PLATFORMS += msm8909
QCOM_BOARD_PLATFORMS += msm8916
QCOM_BOARD_PLATFORMS += msm8952
# UM Family
QCOM_BOARD_PLATFORMS += msm8937
QCOM_BOARD_PLATFORMS += msm8953
QCOM_BOARD_PLATFORMS += msm8996
QCOM_BOARD_PLATFORMS += msm8998
QCOM_BOARD_PLATFORMS += sdm660
QCOM_BOARD_PLATFORMS += sdm845
# MSM7000 Family
MSM7K_BOARD_PLATFORMS := msm7x30
MSM7K_BOARD_PLATFORMS += msm7x27
MSM7K_BOARD_PLATFORMS += msm7x27a
MSM7K_BOARD_PLATFORMS += msm7k
QSD8K_BOARD_PLATFORMS := qsd8k
# vars for use by utils
empty :=
space := $(empty) $(empty)
......
# Board platforms lists to be used for
# TARGET_BOARD_PLATFORM specific featurization
# A Family
QCOM_BOARD_PLATFORMS += msm7x27a
QCOM_BOARD_PLATFORMS += msm7x30
QCOM_BOARD_PLATFORMS += msm8660
QCOM_BOARD_PLATFORMS += msm8960
# B Family
QCOM_BOARD_PLATFORMS += msm8226
QCOM_BOARD_PLATFORMS += msm8610
QCOM_BOARD_PLATFORMS += msm8974
QCOM_BOARD_PLATFORMS += apq8084
# B64 Family
QCOM_BOARD_PLATFORMS += msm8992
QCOM_BOARD_PLATFORMS += msm8994
# BR Family
QCOM_BOARD_PLATFORMS += msm8909
QCOM_BOARD_PLATFORMS += msm8916
QCOM_BOARD_PLATFORMS += msm8952
# UM Family
QCOM_BOARD_PLATFORMS += msm8937
QCOM_BOARD_PLATFORMS += msm8953
QCOM_BOARD_PLATFORMS += msm8996
QCOM_BOARD_PLATFORMS += msm8998
QCOM_BOARD_PLATFORMS += sdm660
QCOM_BOARD_PLATFORMS += sdm845
# MSM7000 Family
MSM7K_BOARD_PLATFORMS := msm7x30
MSM7K_BOARD_PLATFORMS += msm7x27
MSM7K_BOARD_PLATFORMS += msm7x27a
MSM7K_BOARD_PLATFORMS += msm7k
QSD8K_BOARD_PLATFORMS := qsd8k
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment