Commit Graph

419 Commits

Author SHA1 Message Date
Bruno Martins 7c2b31c109 common: Introduce RFS install_symlink targets
The old way of creating RFS symlinks was preventing all Qualcomm targets
to build hermetic partitions. All devices should now be able to drop
BUILD_BROKEN_INCORRECT_PARTITION_IMAGES flag for good.

Change-Id: I95076d884ab3c3d46b3875e77b9088f6df895c31
2024-08-12 23:55:31 +05:30
chrisl7 c7e9b76568 common: Add full support to 6.1 kernel platforms
Change-Id: I2c39455aa749c696baea5436e333d133fda6dc4b
2024-08-10 13:08:32 +00:00
Jyotiraditya Panda 448122c89e common: Build android.hidl.memory.block@1.0.vendor
- Required by qcom.trustedui and qcom.eid

Change-Id: I3dfbab252ea539bdacac67a75e5d8a9b7d889ad0
Signed-off-by: Jyotiraditya Panda <jyotiraditya@aospa.co>
2024-08-06 11:06:58 +00:00
Cyber Knight fb59a0d236 common: Build libcurl
- dependency for QCC
- matches QSSI

Change-Id: I639def8b0b8d3ced18466291f8dbe6cfacf7f7e5
Signed-off-by: Cyber Knight <cyberknight755@gmail.com>
2024-02-27 10:39:14 +00:00
Omkar Chandorkar ece6cf2dbf
common: Switch to qssi device_framework_manifest
- Reduces maintenance

Change-Id: I4558fa90b0374037025dce75e56308d0b95228f6
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2024-02-11 18:13:59 +09:00
chrisl7 effb2e55ee common: Commonize libwfdaac_vendor package
Change-Id: I2c2fd0070a51c6afd0bd578049dc391b3b515831
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2024-02-01 15:56:27 +00:00
Jake Weinstein c12dcdc87d vendor: Introduce adreno-u component
Based on OnePlus 12 firmware
Adreno Version 744.8

Change-Id: Ia484e04515e6ca72e6e18d8bd9dc8980449a9173
2023-12-21 02:11:00 -06:00
BladeRunner-A2C 0ef9532042
Revert "common: Enable MSM_VIDC_TARGET_LIST to bengal 4.19"
- breaks build

ld.lld: error: undefined symbol: getConfigStoreBool
>>> referenced by qc_omx_core.c:478 (hardware/qcom/media/mm-core/src/common/qc_omx_core.c:478)
>>>               out/target/product/miatoll/obj_arm/SHARED_LIBRARIES/libmm-omxcore_intermediates/src/common/qc_omx_core.o:(OMX_GetHandle)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)

This reverts commit bcede0edd0.

Change-Id: Ia89da00c7d0d112f61df5bacc82bbcce1f688c0a
2023-11-20 23:47:39 +06:00
chrisl7 bcede0edd0 common: Enable MSM_VIDC_TARGET_LIST to bengal 4.19
[1] - This is present in media hal, the same for kona and lito.

Change-Id: I45024dab5cea5686e46dda65ee1dd7af340cc5b7
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-11-18 22:55:06 +00:00
chrisl7 25f53d360f common: Allow overriding the PRODUCT_MAX_PAGE_SIZE_SUPPORTED value
Change-Id: I1fb4f7b2c6cae00c12841dab9f71dec537a193f3
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-10-10 16:34:33 +00:00
Roopesh Nataraja e791149f44 common: Opt out of 16K alignment changes
As 16K alignment is not a mandatory requirement in Android 14,
opt out of it by setting PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 4096

Change-Id: I1555e39dc1c0127b8dd77928d1f09ad37a051395
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-10-10 16:32:37 +00:00
CHRISL7 f984717927 common: Skip MASTER_SIDE_CP_TARGET_LIST to 5.4 >>> kernel version
Change-Id: Ifcc94d189820ce494519741f72e7ef02418c814d
Signed-off-by: CHRISL7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:42 +05:30
chrisl7 cbd7b38f28 common: Fix bengal and kona conditions to 5.15
[1] - According to 570068bfa0

Change-Id: I930eb52225eded96b951baeb544394043cdef51e
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-09-10 10:51:42 +05:30
padarshr 39dfc7241b common: Define the partition source order for product/build properties pickup
Define ro.product.property_source_order to
"odm,vendor,product,system_ext,system".
Build/product properties like
ro.build.[description|display.id|product],
ro.product.[brand|device|manufacturer|model|name] and
ro.build.fingerprint would be picked up from the partitions
in the above defined order.

Change-Id: If5e7a1e627723623d04b88adda6bb60bb1e6dd84
2023-09-10 10:19:23 +05:30
chrisl7 6b0f2f0e23 common: Fixup! 8c435a57c6
Change-Id: I53b76ae0598d882e9a933e1dbdf590bcfd60b3b3
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-05-14 06:51:02 -04:00
chrisl7 8c435a57c6 common: Add crow on 5.15 family
Change-Id: I43fa55d084b3479d8438633ebcf1b94b015c2825
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-04-17 10:37:58 +00:00
chrisl7 03cd1790f0 common: Add support to 5.15 family
Change-Id: I19813cbdcb8b3218fbc13e17e25f9ebb9bf5ccb5
Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
2023-03-14 01:01:30 -03:00
Adithya R 9b4ce7e515 common: Set `ro.soc.manufacturer` for qcom devices
All current qcom platforms set QTI as the manufacturer.

Change-Id: I1b41a972f90d9518a110f4cf7843ae71050576fe
2023-03-07 04:35:15 +00:00
Jake Weinstein b316c59d31 common: Inherit compatibility_matrix.xml from vendor-common
Change-Id: I7dbb6a66401ae6c3ec827a8b6037944d84ef605b
2023-02-08 09:09:41 +00:00
Jake Weinstein 46ef910a5a Revert "common: Inherit config.fs from qssi"
This reverts commit f91588987f.

Reason for revert: Rethinking this, qssi isn't actually
inheriting this and this config would not be used from here.

Change-Id: I242ebc997b3951826e5e1da93e0c198516570011
2022-10-23 02:28:42 +00:00
Jake Weinstein f91588987f common: Inherit config.fs from qssi
Change-Id: I89d71f0b260f4e1ca43e4f853b0d628bd2e68c60
2022-10-23 02:14:58 +00:00
Jake Weinstein 53b6080d3e common: Inherit utils.mk from core-utils
Core-utils is actually slightly newer, so there
is no need to maintain this ourselves.

Change-Id: Ia23545b9185c585df02fad84ff87fc7bc735403f
2022-10-23 02:14:41 +00:00
Jake Weinstein ded15e761d common: Inherit privapp permissions/qti whitelist/public libraries from qssi
Change-Id: Ie115b95d253e85941c13fce61404670e5e621ffa
2022-10-23 02:13:36 +00:00
Jake Weinstein a0dd3032a6 common: Remove unwanted legacy SoCs
Change-Id: I7f8537517f7258dc9994cff6cd49992de82d92d5
2022-10-23 02:13:24 +00:00
Jake Weinstein a94b073a5f common: Add initial support for 5.10 targets
Change-Id: Id52edf0f17cbd65f9ea597dfd16cdd520ecb9bcc
2022-08-17 06:49:45 +09:00
Jake Weinstein 49c0d73047 common: Build vndservicemanager
Despite AOSP design, Qualcomm still relies on vndservicemanager
even for devices shipping API 30 and higher. They build vndservicemanager
for all targets and we should too.

Change-Id: I4d6d8d58b55744aa4fff694af6a2adad3783983d
2022-08-14 11:25:27 +09:00
chrisl ae571c2d58 common: Move seccomp to vendor folder
[1] - Why are they in system if it is copied to the vendor?

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: If130c5ac9f7de819abb0f6d3f7317d09bf7a50ab
2022-07-25 11:25:35 +00:00
Omkar Chandorkar 0ccb22dbb4
common: move config.fs declaration outside of BoardConfig
fixes
`device/qcom/common/BoardConfigQcom.mk:27: error: cannot assign to readonly variable: TARGET_FS_CONFIG_GEN`

Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
Change-Id: I1694332eccb3aef0cb4485fc94e38dc9162ec914
2022-07-23 18:06:13 +09:00
chrisl7 104d9d9641 common: Import Qualcomm specific configs from aospa vendor
[1] - Now we have Pixel 6 here, which doesn't use any Qualcommon,
      so let's move it to the appropriate place.

Signed-off-by: chrisl7 <wandersonrodriguesf1@gmail.com>
Change-Id: I6027e8a0664a60de6b5d32e7cf98b8843088cf32
2022-07-23 01:00:05 +00:00
Vishalcj17 bfaf4ecb25 Split system and vendor to their own folders.
Change-Id: Ie93e9fdf854f97aab1e2b6e61d55b309f49c1cd9
2021-11-24 21:04:52 +00:00
Jake Weinstein 19f7a1202c common: replace DEVICE_PATH with QCOM_COMMON_PATH
This was working fine for us because of the way we inherit
QCOM common, but was not working for other ROMs
that inherit it from device.mk.

Change-Id: If7e640bde5fd7e6c72c55d17470168aba3cb6a9e
2021-07-09 01:51:49 +00:00
Kuba Wojciechowski 9f26a67f18 common: guard FCM copy from core-utils.
* Not there on aosp roms

Signed-off-by: Kuba Wojciechowski <nullbytepl@gmail.com>
Change-Id: I181ad1cd30ece49242b47855536eeed18ce0fabb
2021-06-19 13:00:36 +00:00
Alexander Koskovich 71b963aec9
common: Only include QCOM common if it's a QCOM board.
Change-Id: Iedc252f61eb49fb7772bc7c935f1c9967657b18a
2021-06-06 13:39:11 -07:00
Vishalcj17 ef2092b073 common: Copy out Framework Compatibility Matrix from core.
Change-Id: I16f105fd4cfb89a236e0bde93ff98b58e17e67cc
2021-05-15 04:25:13 +07:00
Alexander Koskovich 72868dd9dc
common: Move TARGET_BOARD_PLATFORM check to common makefile.
* We need the board platform for various makefiles we include
   and for kernel version guards, just require it outright in
   top level.

Change-Id: I1100b2c731e4d5cc8f522641b6ea60e83ec29908
2021-05-02 00:19:52 -07:00
Vishalcj17 c7182b552c
common: Add support for 5.4 platforms.
Change-Id: Ieb8aa2a67b93bc7a7e255cf7df24e12d29860e50
2021-05-02 00:19:51 -07:00
SayanAcharya 0a9fcc6867
common: Include opensource power makefile.
* This ensures required power packages are built and
   SoC specific powerhints are copied.

Change-Id: Ia7f7350dda259a27b1130f8dba7d6a8132a642f2
2021-03-12 07:18:46 -07:00
Alexander Koskovich dd2c114abe
common: Copy public libraries from common repository.
* The QSSI repository likely won't exist for anything
   but CAF ROMs.

Change-Id: I84ef8c7c2b9d20e061ffd46688f208278c7dfdcc
2021-02-17 16:06:42 -07:00
Alexander Koskovich 7c557eddcd
common: Copy public libraries from QSSI.
Change-Id: Ie35872abf829fd1e299b7bb98dc1756574a4c8df
2021-02-17 08:29:36 -07:00
Alexander Koskovich 71d90ab284
common: Split common into component specific makefile.
Change-Id: I1b705598d88556f62076fb2f4f2d4f69a8f5dbd5
2020-12-02 12:39:12 -07:00
Alexander Koskovich e3e653fcc2
common: Move SECCOMP extensions to QCOM common.
Change-Id: I9a836f242b4621480db75cb07636e40720052e54
2020-12-02 12:15:04 -07:00
Alexander Koskovich 094a29a014
common: Introduce a vibrator component.
Change-Id: Id37e2af91552fa656b6da5a11c108f1cf027fd88
2020-11-25 09:31:17 -07:00
Alexander Koskovich 282c4a777c common: Add families for kernel versions.
* Wanted by some component checks, inspired by the way
   LOS handles families.

Change-Id: I63f0367ee7d6a1372c5d392bddbd3ec1153680a1
2020-11-22 06:35:32 +00:00
Alexander Koskovich e4ed545b95 common: Create a QTI USB component.
* Add in a script of our own to set product ID since
   QCOM's default is SOC based, e.g. KONA-MTP _SN:XXXXXXXX.

Change-Id: Ieede136b5dd8903dcfe2f41f59d5278df7b02ee6
2020-11-22 06:35:32 +00:00
Alexander Koskovich 40a5ab01d7 common: Create a NQ NFC component.
Change-Id: I6ebab18848b20d3c1848c0612b2196a1968b638b
2020-11-22 06:35:32 +00:00
Alexander Koskovich 45e7972be9 common: Create a WLAN component.
* Only pick up product makefile if it exists, some
   vendorless devices may be opting into all components.

 * Move BoardConfigWlan flags here as CAF's tries to
   include kernel modules that don't exist and this
   is a better solution than touching all of their
   BoardConfigs.

Change-Id: I16d49283f754e2c3dd1743ca85f3e625e8496e8f
2020-11-22 06:35:32 +00:00
Alexander Koskovich 513b7568d3 common: Create a media component.
* Only pick up product makefile if it exists, some
   vendorless devices may be opting into all components.

Change-Id: I3b564a20637c8a1ca4b4e54d829201d0d51f2561
2020-11-22 06:35:32 +00:00
Alexander Koskovich 83d6017f95 common: Import QCOM board utilities from LA.UM.9.12.r1-09000-SMxx50.0.
Change-Id: I77eee7bc8892d836e14564d99b13250b426ead35
2020-11-22 06:35:32 +00:00
Jake Weinstein 95213832a0 common: remove reference to 1.0 Power HAL
Change-Id: I52126b84cb1d05aa6f76127bcf401c266f5e9c72
2020-11-08 06:32:48 +01:00
Alexander Koskovich 18b2d98d71
common: Add an option to pick up all of the QTI components.
Change-Id: I7325dcdd89e28c0df077e1df997cedd108e3ea12
2020-10-20 12:51:21 -07:00