Commit Graph

105 Commits

Author SHA1 Message Date
SahilSonar
cb15b81b01 qcom: Add holi platform
Change-Id: I1f41059c385a37bef71bd7d8ee34739d8bcca77a
2022-07-19 18:12:17 +02:00
Alexander Koskovich
c5853fe2b8 lineage: build: Drop MSM7K board platforms
* If someone finds a device that uses these platforms
   in 2022, let me know.

Change-Id: I5478d45f40497788d28a4bd04fae7838aae7e116
2022-03-03 17:08:28 +01:00
Alexander Koskovich
4d0c884d23 lineage: build: Drop QSD8K board platform
* This platform was last mentioned during CM 9 in
   android_vendor_qcom_opensource_kernel-tests_mm-audio.

Change-Id: I7e91d17303b74bed3a9c220366868afd8176a7f7
2022-03-03 17:08:28 +01:00
Alexander Koskovich
e12f9f0d97 lineage: build: Drop MTK board platforms
* Remove MTK board platforms, nothing uses this when
   looking for 'MTK_BOARD_PLATFORMS' across the entire
   organization. This lets us revert the utilities back
   to how they were in the QCOM tree.

Change-Id: If3d3a3e7543b79108b26a30c0e02bb3ab154f279
2022-03-03 17:08:28 +01:00
Alessandro Astone
8ace32e27d build: Define QC_OPEN_PATH
All references in sm7250 repos point to the correct location
if we simply define QC_OPEN_PATH as vendor/qcom/opensource

Change-Id: Ibb580230212a08c73a251c88630217b192979eb4
2021-12-10 22:42:52 +01:00
Michael Bestas
85da432b7b build: Replace obsolete ADDITIONAL_BUILD_PROPERTIES
Fixes:
error: ADDITIONAL_BUILD_PROPERTIES is obsolete.  Please use ADDITIONAL_SYSTEM_PROPERTIES.
Change-Id: I7eb3c47d9fd705aa8f8d39e10563e47ffbf2d560
2021-10-07 19:57:29 +02:00
JamieHoSzeYui
902f4474ba qcom: add lahaina platform
lahaina = Snapdragon 888

Signed-off-by: Aryan Sinha <sinha.aryan03@gmail.com>
Change-Id: Iaad90031451a9d1d3c8cbe8b61c1cf19717df4ee
2021-05-31 22:51:36 +02:00
TheMalachite
ec016fd19b qcom: Add bengal platform
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com>
Change-Id: Ia9f602a1d6f109554c6462eaa02214c43b9295dd
2021-02-02 16:47:05 +01:00
Michael Bestas
d9dd942eee build: Remove hardware/qcom-caf/thermal pathmap
* Thermal HAL was converted to HIDL service and .mk to .bp,
  devices can override it by using a different named service

Change-Id: Ia3e0d86e791555992e7889f33f7d55f224b9a582
2020-11-22 23:35:38 +01:00
Michael Bestas
571bed5e3f Remove build/core/clear_vars.mk
LOCAL_IGNORE_SUBDIR has been deprecated since 16.0

Change-Id: I3d27034a070977acef32c3b9b654badce1506359
2020-11-13 18:45:04 +01:00
LuK1337
beb10414d2 lineage: Add data-ipa-cfg-mgr to soong namespace in BoardConfigQcom
Before:
  $ breakfast capricorn && m ipacm
  FAILED: ninja: unknown target 'ipacm', did you mean 'lpadd'?

After:
  $ breakfast capricorn && m ipacm
  * happily compiles *

Change-Id: Ib68978d4f287dcdea45fc21382af05b1890caca4
2020-11-01 11:29:01 +01:00
razorloves
23591a8530 Declare vendor/qcom/opensource/data-ipa-cfg-mgr as soong namespace
The mk files in vendor/qcom/opensource/data-ipa-cfg-mgr were
converted to bp, so this is needed to avoid duplicate module
build errors on devices that use a different data-ipa-cfg-mgr hal.

Co-authored-by: Christian Oder <myself5@carbonrom.org>
Change-Id: Ib4d566e43145745afac0259c95c0a563779fa3bd
2020-10-27 13:16:23 +05:30
LuK1337
b82776e2a4 qcom: Add UM 4.19 platforms
Change-Id: Ida4861b95b0b9748ef3848674b7121010126dd3d
2020-06-25 20:17:38 +02:00
TheHitMan7
eb18aa6af9 qcom: Add atoll platform
Signed-off-by: TheHitMan7 <krtik.vrma@gmail.com>
Change-Id: Idc74d064620649e7423a2fee076da8bd43e1cbd3
2020-06-25 20:16:52 +02:00
Volodymyr Zhdanov
27180809c5 build: set build fingerprint for all devices
* there's no per device way to add props to /system/build.prop
* adding it here is the only way so far

Change-Id: Iafc286d9e479677540a4ec617db76715c018ae8e
2019-12-18 20:49:06 +01:00
Bruno Martins
a8f45e9914 Revert "lineage: add BUILD_RRO_SYSTEM_PACKAGE target"
AOSP pushes RROs to system by default now,
therefore our custom target is not needed anymore.

This reverts commit 546c9a1ec5.

Change-Id: I46753a3b60a89f0198058fbc6d07d3db8a6699b5
2019-11-22 17:18:47 +01:00
Michael Bestas
6eaad8d36a build: Remove qcom power HAL pathmap
* Power HAL is a HIDL HAL now, so you can simply build
  a device specific one with a different name

Change-Id: I88b0a71dbcc98cbc8e7b5c284a3956e259d21115
2019-10-03 16:23:59 +03:00
Michael Bestas
e9731bb5dd build: Don't set pathmap for repositories that do not exist
* Camera, gps and sensors are device specific most of the time
  so we do not sync the generic repositories for these projects

Change-Id: Ibb5d0066e362d285a862ea0c0f2a2c824f84f73d
2019-09-27 15:38:21 +03:00
Michael Bestas
0d941af154 build: Don't set pathmap for AOSP qcom hardware repositories
* No longer needed after I9cf83430ffec4fbd224e724513d371ba8785606d

Change-Id: I594266314e1121ac6f13f9ed79774088667090d4
2019-09-25 21:04:48 +03:00
Rashed Abdel-Tawab
84948089b6 build: Move to new qcom HAL directory layout
All CAF forked HALs now reside in hardware/qcom-caf/

Change-Id: I9f84cebf021418c0b402bc3186f37643e63afb24
2019-09-25 21:03:29 +03:00
Michael Bestas
22fe07435b build: Move hardware/qcom/audio back to its original path
* This is a leftover from the early pathmap changes in cm-12.0

Change-Id: Ie1dc738c65cd7ffbf352eb10271b00da0f5ff393
2019-09-25 21:03:05 +03:00
Michael Bestas
156bdadf9c build: Remove ability to set WLAN/BT_VENDOR variant
* These flags have no users since cm-14.1

Change-Id: Ia2b2fd5d95e856fdae3ec23532bc6eceff2910c6
2019-09-25 20:57:26 +03:00
Bruno Martins
9cc0175f16 lineage: Trash the last bits of SDClang support
Change-Id: I9ccb9b931a63342e233578c3ddbc5ea6391af601
2019-09-11 22:08:31 +01:00
Sam Mortimer
a97560956e vendor/lineage: Depend on existing definition of empty
Defined and marked readonly in build/make here:
7ddc50a066/common/core.mk (L46)

Change-Id: Ic233f0d41d03b28beb8d96c68692271d959fa188
2019-09-07 14:44:10 -07:00
Rashed Abdel-Tawab
05aded86f3 qcom: Add UM 4.14 platforms
* Note: msmnile is treated like msmnile because unlike other Qualcomm
  codenames msmnile does not expand to 8150.

Change-Id: If246c0ec06de22097d369c17ce48aa1270bab19c
2019-07-20 08:36:55 +02:00
Isaac Chen
60912cff97 build: Support SDM710 platform
Change-Id: I958a6bfd1087f5437f4074e614198bb622d476ce
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2019-06-27 20:00:28 +01:00
Ethan Chen
a7b2d0a620 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
2019-06-26 01:11:42 +02:00
Ethan Chen
66ce59c88e build: Reorganize inclusion of QCOM macros
* There's actually not a whole lot QC-specific about these macros,
  make them available at definition.mk inclusion time rather than
  relying on BoardConfig to include them.
* Don't create a dependency on QCOM macros from a makefile
  that is included very early in the build process.

Change-Id: I3dcaf0e068ca44732cfe58f69384621781ddda67
2019-06-26 01:10:51 +02:00
Ethan Chen
5512b647e0 build: Set mode for makefiles
* These shouldn't be executable.

Change-Id: Idcb4e46f0ac69116b4837cd31f9f2e506b41a3f2
2019-06-25 23:13:21 +02:00
Luca Stefani
48406e8afd Never allow neverallows
Change-Id: Ibf07e9e319d676666e3e7389720c24917e38a9ac
2019-02-16 21:14:14 +01:00
Michael Bestas
e4dc50fa6a lineage: qcom: Set proper CAF data-ipa-cfg-mgr pathmap
Change-Id: Ibaec558bfe945a204968e7f7a3df85dd91d49483
2019-01-03 23:54:09 +02:00
Ethan Chen
da0ae04cd3 lineage: qcom: Set data-ipa-cfg-mgr pathmap
Change-Id: Ifaf6d008425ef38fa8de2aa734cc4b05654995f2
2019-01-03 19:47:35 +01:00
Ethan Chen
7992a6e919 qcom_target: Add wlan-caf to CFI paths
* The default AOSP hardware/qcom/wlan path is listed in
  PRODUCT_CFI_INCLUDE_PATHS since wpa_supplicant is compiled with
  control flow integrity checks. Add the Qualcomm WLAN variant to
  PRODUCT_CFI_INCLUDE_PATHS as well so wpa_supplicant can safely link
  it without exploding.

Change-Id: Id5577846e1e1ea11f8a665d62847c80803e285f7
2018-09-07 10:43:18 +02:00
Rashed Abdel-Tawab
b8ac142535 lineage: Move QC board variables earlier
These variables are usually set in a device's BoardConfig, setting them
in qcom_target is at the very end of the "configuration process" which
results in them being unavailable to plenty of other configuration
"things" (ex. soong namespaces or soong config). Move them to right
after a device's BoardConfig has been found and loaded.

Change-Id: Iddd731202d22ed3f8eb010197ce20d3c75a1f40a
2018-09-03 22:30:59 +01:00
Rashed Abdel-Tawab
ebdb57604c lineage: Ignore neverallows
Change-Id: I35a39ec73c0047f93124f72249a6fa936fe0875a
2018-08-25 14:27:34 -07:00
Bruno Martins
444a366a68 build: Add support for sdm845 platform
Change-Id: Icda63780d7a422303c73f77bd888c1b30bd4bf79
2018-07-09 00:42:54 +02:00
Michael Bestas
307008e754 lineage: qcom: Set thermal & vr HAL pathmaps
Change-Id: I1f9e5060764fe8e4e0f58c0ded1f6bf1b28c0567
2018-06-12 19:01:16 +02:00
Michael Bestas
132c6018fb lineage: qcom: Enable TARGET_USES_COLOR_METADATA for msm8937 & msm8953
* This is set in qcom device trees for all UM platforms

Change-Id: I6feb714e725e7cd81a4428d16a89954b796fac70
2018-06-03 00:03:42 +02:00
Ethan Chen
70c217a5b8 build: Clean up makefile inclusions
* Include MTK/QCOM rules directly from the build/core/config.mk hook.
* Place main.mk hook and main_version.mk into build/core with the rest
  of the make system hooks.

Change-Id: Iad2f808f3e3eefbd2be2ca5facb907ff31babbb7
2018-05-30 21:50:44 +02:00
Ethan Chen
6554f104b5 build: Use TOPDIR, not TOP
Change-Id: I5b2677c22aa878e46e01f4e5b31769e21937c38a
2018-05-28 18:47:48 +02:00
Bruno Martins
8c8d7ef238 clear_vars: Remove Maven leftovers
Change-Id: I2a94d0868334bb4e76398b1b435e67cd8a47e633
2018-05-24 18:20:06 +02:00
Ethan Chen
36ba142248 build: Remove HTTP_PREBUILT
* It appears the only user of this was Gello, which is no longer using
  it.
* Remove this deprecated directive

Change-Id: I6ab869c2f2c3b891b58b9a750e7ce882f169f296
2018-05-22 23:42:08 -07:00
Ethan Chen
e00f7c4fe9 build: Remove maven make rules
* These were leftovers from cyngn days

Change-Id: I11b17e7c8bbba9cf5ca2ccad304654180423f6ad
2018-05-23 00:19:26 +02:00
Paul Keith
35b22a327f lineage: qcom: Enable media extensions for all QC devices
* This is now needed for the latest legacy HAL1 hacks, which were
  previously the only devices not using media extensions.
* Enable it for all QC devices to avoid running into
  issues with devices not having this enabled in the future.

Change-Id: I484840e712f7da6d0064a5f8016e8061b9cba838
2018-04-26 05:18:32 +02:00
Anshuman Dani
b72f8c924e Always use my_installed_module_stem instead of my_built_module_stem
This will prevent link errors in case my_installed_module_stem is different
from my_built_module_stem.

Change-Id: Ic72571637ea404c92128b9cd5a28e82a36bc0033
2018-03-27 17:09:52 +00:00
Pengxuan Zheng
7f5d4e1050 Add support for using the secondary SDLLVM toolchain
If LOCAL_SDCLANG_2 is set to true, the secondary SDLLVM toolchain
(SDCLANG_PATH_2) will be used instead.

Change-Id: Icb7492562aeaa3c584edcbced8fe1e98776774bd
2018-03-27 17:09:52 +00:00
Mandeep Singh Grang
dc8df22add Rules to enable LTO for Adreno GFX driver.
This patch controls rules when LTO is enabled for Adreno GFX driver.

Change-Id: I45bd163889ffd3e0237d5451adaca0fc411b14f8
2018-03-27 17:09:52 +00:00
Ethan Chen
3a0f2fb0e0 qcom_target: Move RIL path mapping to core/config.mk
* hardware/ril is a required project for any build.
  Move the path mapping logic to core/config.mk so
  any build has access to the correct default mapping.

Change-Id: Ia52919d7877ddc91f8a4a988fd0858d14837fc4c
2018-03-07 00:23:23 +00:00
Ethan Chen
87b787abd9 pathmap: remove duplicate include-path-for
* include-path-for is already part of build/core/pathmap.mk

Change-Id: I3133265559b4d4b5cc6c32b49f430422e55b34ac
2018-03-06 16:51:07 +00:00
Joey
546c9a1ec5 lineage: add BUILD_RRO_SYSTEM_PACKAGE target
Allows to ship rro packages in system instead of vendor

Change-Id: I8822ca477e80297dce477de2d87bd3e74d4cbfb0
Signed-off-by: Joey <joey@lineageos.org>
2018-02-05 21:13:24 +01:00