Commit Graph

40 Commits

Author SHA1 Message Date
Michael Bestas
d690c9eb9f build: Remove reference to deprecated VR HAL
Change-Id: Ia2319ca64e85a64d4c8b0ab4972c78e97cebc76b
2025-04-24 20:25:01 +03: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
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
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
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
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
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
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
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
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
Arne Coucheron
73296f14dc soong_config: Add TARGET_USES_QCOM_BSP_LEGACY
Change-Id: Ia5ddfa263df71388b19c77d2509c29791177208d
2018-01-04 20:42:38 +00:00
Rashed Abdel-Tawab
064b06967f build: Merge UM platforms into common HALs and disable BSP
While UM platform HALs are interchangable and very much interoperable
between platforms and kernels, some have qualms about commonizing
platforms that Qualcomm hasn't fully commonized themselves yet. Therefore
introduce 2 seperate UM platforms, UM3.18 and UM4.4 (corresponding to
the kernel version used for that "version" of UM) and use msm8996 for
UM3.18 and msm8998 for UM4.4 (sdm845 will probably be UM4.9).

Also disable TARGET_USES_QCOM_BSP on the UM platforms to match Qualcomm
trees as it causes WiFi display not to work and calls for missing headers
and struct elements at build time.

Change-Id: Ia574231243b7d628d35959b474dd28bd37ac4031
2018-01-04 01:14:38 +00:00
Michael Bestas
480e2ee431 qcom_target: Commonize UM target HALs
* Use msm8996 HAL for 8953 & 8937 since they share the exact same
  git history sha1 in all 7.0+ released tags.

Change-Id: I764a9a092b6d530de8a9b9e6e54f41c0b5d8a593
2018-01-04 01:14:38 +00:00
Rashed Abdel-Tawab
0d07fa5af5 lineage: qcom: Set power HAL pathmap
Change-Id: I063821f8405cafc57b37a61d119a9b8b7ef9df4a
2017-12-31 02:29:26 +00:00
Adrian DC
154df245a5 build: Remove breaking global flags
Change-Id: I9bbc75ce4701dc70c17b1d80c40e8b98e961dd2a
2017-08-25 07:57:31 -05:00
Dan Pasanen
91f7620c4d vendor: change vendor to lineage
Change-Id: I2df13091f5d62b552ef434aef1a389f4fe1249e0
2017-08-23 03:26:28 +03:00
dianlujitao
3bc9c18e11 build: qcom_target: Add sdm660
Change-Id: I90a44e040280bd43c40b06e14f658a5cf7e30297
2017-08-17 16:55:48 +00:00
Rashed Abdel-Tawab
deed26fd06 qcom: Allow setting custom audio, display, and media HALs
Currently, using project-set-path is blocking us from overriding the pathmap
for the audio, display, and media HALs, so set them with set-device-specific-path
to allow overriding the HALs with USE_DEVICE_SPECIFIC_* and DEVICE_SPECIFIC_*_PATH

Change-Id: Iee3723cf251d0f485a77a17fd61cb62178833582
2017-08-01 02:23:17 -04:00
Luca Stefani
c835d38e3e qcom: Enable TARGET_USES_QCOM_MM_AUDIO
Change-Id: Iff693650db4b9423bc4bb16c12f592c2a74248af
2017-07-11 19:42:50 +00:00
Michael Bestas
e65a25087f build: qcom_target: Define MASTER_SIDE_CP_TARGET_LIST
Currently, in the display HAL, we're replacing the usage
of this variable with a check for TARGET_BOARD_PLATFORM.

Instead of having to do that every time a new branch is made,
define the variable in qcom_target.

Change-Id: Iddcc38c70adc52267e70c985b7a0ad3d8c4c8929
2017-06-29 20:31:22 +00:00
Rashed Abdel-Tawab
cf65ecf8e6 qcom: Automatically set TARGET_USES_COLOR_METADATA for msm8996/8
Change-Id: I47d71f6f9f5f5c656b89b0ae9f4ec6ec2ff30915
2017-03-07 19:51:36 -05:00
Dan Pasanen
c6b5c382a2 build: core: include platform helper macros in target makefiles
* These are now needed sooner than we had been importing them
  in android_build. This ensures they'll be imported before
  their macros are needed.

Change-Id: Id7e31f36393414f6d51a8bc80686ceaebfe7cb28
2017-01-08 07:47:39 +00:00
Zhao Wei Liew
a63bf9536b build: qcom_target: Define MSM_VIDC_TARGET_LIST
Currently, in the media HAL, we're replacing the usage
of this variable with a check for TARGET_BOARD_PLATFORM.

Instead of having to do that every time a new branch is made,
define the variable in qcom_target.

Change-Id: Idd85b6f0b167bbc64833eb03335abcaa7b9de4a9
2017-01-08 10:14:07 +08:00
Zhao Wei Liew
9838ea37f6 build: qcom_target: Clean up QCOM_HARDWARE_VARIANT checks
Change-Id: I97f812412f94a0638e78eaf7e45112b6924120a9
2017-01-08 10:11:14 +08:00
Ethan Chen
2a5d907bbd qcom_target: Remove unused support for CAF manifests
* This code was introduced to support building from Qualcomm hardware
  manifests, placing the appropriate Qualcomm HALs at the AOSP
  hardware/qcom/$(HAL_TYPE) location. This isn't a supported use case
  anymore, so remove the dead code.

Change-Id: Id7d53b33f53289bc1ead8eb983d7e252940b0387
2016-11-13 13:46:38 -07:00
Ethan Chen
367802bcad qcom_target: Remove unused sony HAL support
Change-Id: I046d860127918858af98e9ab73bebc253502d08f
2016-11-13 12:46:05 -08:00
Ethan Chen
3681177eb4 qcom_target: Restore original AOSP hardware/qcom/media pathmap
Change-Id: I3d11f750e0c784da049c9618a44934f8a4c9d304
2016-11-13 11:04:02 -08:00
Zhao Wei Liew
e7573daa4c build: qcom_target: Enable BOARD_USES_ADRENO
Newer QCOM HALs use this flag for libc2dcolorconvert,
examples being msm8937 and msm8996 media HALs.

Change-Id: I28e8a42b58b4f5f71126df7ad97c377724da5bab
2016-11-10 06:13:15 -07:00
Michael Bestas
3952f6cb0d Import CM build additions
Change-Id: Id1eb902129754e61dfcc2b5d95c3a75172ff0c5e
2016-09-25 22:32:37 -07:00