Commit graph

710 commits

Author SHA1 Message Date
Bruno Martins
a70b005d3c config: Exclude AOSP rild package from enforcement
Devices using vendor RIL services (ENABLE_VENDOR_RIL_SERVICE)
encounter a dead end when enforcing product package existance.

Change-Id: I101ebf442e35c631a6ff9f352566de63dd5cfba7
2022-10-02 16:49:24 +01:00
Aaron Kling
ca97b5293c config: Remove missing cli tools
These have not been ported for several versions

Change-Id: I40f199b6628e757e2637814b96f20bfb537393a4
2022-10-02 16:48:20 +01:00
Aaron Kling
631ead7979 config: Exclude product_manifest.xml from enforced existing packages
Not all build targets have this target modules

Change-Id: I01051bb0f6e285ca64bfbfbbaa70bfab796533eb
2022-10-02 16:48:20 +01:00
Aaron Kling
ee8dbc29ab config: Require all requested packages to exist
Change-Id: I5b31a90668d4aa0355f9d1abb1b6efa982d1e1d7
2022-10-02 16:48:20 +01:00
Alexander Koskovich
70b1bf3812 lineage: kernel: Use getconf instead of nproc
Change-Id: Id8215f290a88ddf3a6bc1764d9ef9a09f6aa810d
2022-10-02 17:47:00 +02:00
Michael Bestas
0d450dd954
kernel: Changes for 5.10 build without GCC
Change-Id: Id6e09467937e60e6b00a30a246ba0a4a8d71687b
2022-10-01 00:46:45 +03:00
Michael Bestas
c80ca08861
kernel: Slightly reorder config
Prepare for 5.10 kernel build changes

Change-Id: I79ecf0655f9adc894091c4f26de337ebe03e3ca2
2022-10-01 00:41:24 +03:00
Michael Bestas
728eff7557
kernel: Use consistent spacing
Change-Id: Ia01336f14599ec8d767d88ad3b76f7bb97153848
2022-10-01 00:39:11 +03:00
Andrew Hexen
f06d0c0a2c QCOM: msm8953: Use legacy-um ipacm
* LEGACY_UM_PLATFORMS didn't account for msm8953 being split from the UM_3_18_FAMILY.

Signed-off-by: Andrew Hexen <SyberHexen@gmail.com>
Change-Id: I3f4e1aa15ce9a8bbe5ab8ae20e96497f8e66e850
2022-09-28 18:23:10 +02:00
Tim Zimmermann
9add63ba7d lineage: Support charger on vendor
Change-Id: I7cfd4cdaf4e3db48e3a970cb103b35986ec290cf
2022-09-25 13:45:03 +02:00
Michael Bestas
c05ae98f0c
Revert "Disable vendor/crowdin overlays for now"
This reverts commit c0c8dccdb6.

Change-Id: I91c2c9c216a1bc653f4f9e79b0d6ec870575dc6a
2022-09-22 16:50:28 +03:00
Chirayu Desai
b5da4d5070 Hookup GRALLOC_HANDLE_HAS_RESERVED_SIZE
* Needed for camera on redbull 13

Change-Id: Ibc1d941f8a6e5e61e3a56cb0065e387022fa3441
2022-09-19 19:17:27 +05:30
Michael Bestas
1c39c90a8d QCOM: RIP pre-UM families
Change-Id: I36e88d74928303ef13334e5feb3d4d3a98c25bd3
2022-09-19 11:26:29 +02:00
Michael Bestas
bca38c6f68 kernel: Use LLVM binutils by default
* GCC has been completely removed in AOSP but we keep it
  for compatibility reasons with older kernels until they
  are adapted to remove all the dependencies to GCC.
* Most updated 4.19+ kernels should be able to use LLVM
  binutils out of the box. 4.14 is possible with a few patches
  and 4.9 with even more patches.
* Make this the default and allow devices opting out by using
  TARGET_KERNEL_LLVM_BINUTILS := false

Change-Id: I569cf290b41aaf2dc16ff9cc4cc6dc461f0d504e
2022-09-13 14:37:09 +02:00
Bruno Martins
57687fd6ce QCOM: Use legacy-um ipacm for all legacy UM platforms
Change-Id: I5ee44f8d8b8a4773376343a4df917ab333737fe1
2022-09-13 14:31:46 +02:00
Alexander Koskovich
9ec1fed30b kernel: Drop -fuse-ld=lld from CFLAGS
clang-14: error: argument unused during compilation:
'-fuse-ld=lld' [-Werror,-Wunused-command-line-argument]

Change-Id: Ic863e8707e4c57c7d03183b6cb6d3cd38e919bcb
2022-09-11 11:48:25 +01:00
Michael Bestas
18dd1748df
kernel: Changes for LLVM binutils
* Remove KERNEL_LD from kernel.mk, we simply set LD in BoardConfigKernel
* Add llvm-ar in path allowlist (used by LTO)

Change-Id: I76addb6f9d8d413edb1832dba23082ffb6d5ebc3
2022-09-08 04:39:49 +03:00
Jiakai Zhang
06851a6556 common: Add a system property for System UI compiler filter.
Bug: 227310505
Test: m
Change-Id: I30863fe677a95844f0cf46da98c103c0132c24d3
2022-09-06 15:23:25 +02:00
Michael Bestas
a8bbd0e4aa
config: Remove BOOTLOADER_MESSAGE_OFFSET
This hasn't been ported after lineage-18.1

Change-Id: Ie3d798a009a4e0042b767839b39dd6f68695ef2a
2022-08-30 03:13:55 +03:00
Michael Bestas
50fb699870
config: Remove TARGET_PROCESS_SDK_VERSION_OVERRIDE
This hasn't been ported after lineage-18.1

Change-Id: I3024e503e97075d5bfffc41b60da83a445a4e580
2022-08-30 03:13:55 +03:00
Michael Bestas
fa5bc45a95
config: Remove TARGET_DISABLE_POSTRENDER_CLEANUP
This hasn't been ported after lineage-18.1

Change-Id: Ib1bca251c6de7529c58ea2fb9b439e37b55be6c5
2022-08-30 03:13:55 +03:00
Michael Bestas
3bff07a506
config: Remove TARGET_NEEDS_NETD_DIRECT_CONNECT_RULE
This hasn't been ported after lineage-18.1

Change-Id: I2946fdb08c09a3bfd238d65103869dc89ca2b558
2022-08-30 03:13:55 +03:00
Michael Bestas
e19c6db3c9
config: Remove TARGET_IGNORES_FTP_PPTP_CONNTRACK_FAILURE
This hasn't been ported after lineage-17.1

Change-Id: I2aff9bb7bc17fa1444a904d47248d885268bf29b
2022-08-30 03:13:55 +03:00
Michael Bestas
e020bffce2
config: Remove TARGET_HAS_MEMFD_BACKPORT
Change-Id: I17444007429f826bf3d7504cba760204c476e664
2022-08-30 03:13:54 +03:00
Michael Bestas
1cfc6cbf4b
config: Remove TARGET_SPECIFIC_CAMERA_PARAMETER_LIBRARY
This hasn't been ported after lineage-18.1

Change-Id: Ib3ae63ee549b774349268a42923e462a3ef975a0
2022-08-30 03:13:54 +03:00
Michael Bestas
829f975cd8
config: Remove TARGET_HAS_LEGACY_CAMERA_HAL1
Change-Id: I6f4cbe41f6df3ceb6b4058d5b6e77c02e1899809
2022-08-30 02:43:52 +03:00
Michael Bestas
89fd58c860
config: Remove TARGET_USES_QCOM_BSP_LEGACY
Change-Id: I93f111285c46e1a1f811b9d8555de96474d60386
2022-08-30 02:39:47 +03:00
Michael Bestas
f1614da261
config: Remove QCOM HW FDE setup
Change-Id: Ia88a5331e5f3b69a2eea95aa13338f4282779856
2022-08-30 02:36:39 +03:00
Michael Bestas
c0c8dccdb6 Disable vendor/crowdin overlays for now
Change-Id: Iebe001810f755eccd508165e45454b1a0a017a73
2022-08-29 17:23:40 +02:00
Bruno Martins
98cdb01ed7 config: RIP QTI BT stack
Change-Id: I9b045af6ffc547e93dcdeba835500430849f46b1
2022-08-28 22:12:21 +01:00
Arian
1c470ddb20
config: Update clang version to clang-r450784d
This is the default clang version on android-13.0.0_r1

Change-Id: Iaecec88ce0a462403d0a3cf705ce794c230e6bd9
2022-08-23 02:02:20 +03:00
Arian
504571afb7
Lineage 20.0
Change-Id: I49cf6e7d02ecc36c03b27f50d4b35a70510de6e9
2022-08-23 02:02:19 +03:00
Neel Chauhan
fadfdbf4f5
kernel.mk: Allow building external kernel modules
Here, we introduce the TARGET_EXTERNAL_KERNEL_MODULES variable
for the list of external modules.

Change-Id: I1f8b7a48e66bb0c9efbc396692e5a7159f0b835c
2022-08-11 18:34:23 +03:00
Michael Bestas
98447383e4
kernel: Allow overriding dtb target
On some devices we might want to build just the *.dtb files
that we actually need instead of the every dtb that exists.

Change-Id: Id7a152499d4ee1dd08f79d34cc34bfe959313515
2022-08-11 18:34:23 +03:00
Michael Bestas
7e054e52ac
kernel: Allow setting dtbo target path prefix
gs101 uses DTBO_OBJ/arch/arm64/boot/dts/google/dtbo.img
vs DTBO_OBJ/arch/arm/boot/dtbo.img on previous devices.

Change-Id: I945d31cb093fae97385cf84c273088ee7a4edf0b
2022-08-11 18:34:23 +03:00
Michael Bestas
12b812b4c9
kernel: Allow overriding dtbo target name
gs101 kernel uses google/dtbo.img target for dtbo.img

Change-Id: Ib03f35c0035f56d303771de9399bcce3d02c0775
2022-08-11 18:34:23 +03:00
Michael Bestas
eaf4a49adf
config: Use LLVM binutils for 5.10 as well
Change-Id: I14afa17d710778403cd7fecf842c952c569c0c35
2022-08-11 18:34:23 +03:00
LuK1337
33fe58bd58 config: Exclude LatinIME dictionaries from RRO overlays
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/4991
Change-Id: I7722ac86d9d3f02f393b2c120341db5a2b648ff5
2022-08-08 01:08:59 +02:00
SahilSonar
cb15b81b01 qcom: Add holi platform
Change-Id: I1f41059c385a37bef71bd7d8ee34739d8bcca77a
2022-07-19 18:12:17 +02:00
LuK1337
b88982a77c overlay: Convert NetworkStack overlay to an RRO package
We can't use autogenerated RRO because android:targetName has to be set
to "NetworkStackConfig".

Change-Id: I6ff8a9c0dbd9607e71de5a65393328fe249a99e8
2022-07-16 00:38:37 +02:00
Jason Wojcik
92b2067a53 lineage: config: Use $(abspath .) instead of $(shell pwd)
Change-Id: I7fec28b7cb507918b1b55dd368a74c927a8fc1d2
2022-07-14 18:49:45 +02:00
althafvly
098c8f5416 lineage: add back BlackTheme
Change-Id: I5b624424ba8fb2eae0ffcdc6b8fa5a1e58f6c384
2022-07-08 17:19:31 +02:00
Chirayu Desai
15770b25c9 kernel: Don't print grep error messages when checking version
Avoids:
$ lunch lineage_sdk_phone_x86
grep: build/make/target/board/emulator_x86/Makefile: No such file or directory (x4)

Change-Id: Ie803d5ca93e6e7ae94625e7ee3ab0bf337e0515d
2022-07-08 16:04:46 +02:00
LuK1337
43cb0d69bf Revert "config: Disable remote keyguard animation until it's fixed"
Fixed upstream.

This reverts commit 9c4fd99fb8.

Change-Id: I531ac182091a133fd7e5a693f97e1e883853b0a0
2022-07-03 22:00:43 +02:00
Alexander Koskovich
a78681c09c
kernel: Move TARGET_KERNEL_ADDITIONAL_FLAGS to kernel task
* Currently, because DTC_EXT make flag is in the
   kernel task the only way to override it is to
   have TARGET_KERNEL_ADDITIONAL_FLAGS come after.

Change-Id: If62ed979581dc07eafd4628ce2b2d799388d3704
2022-06-24 14:23:06 +03:00
Alexander Koskovich
d807db71bc
lineage: config: Don't pass CFLAGS_MODULE="-fno-pic" if using LLVM
* Seemingly not an issue for kernels compiled with
   LLVM, tested with kernel versions 4.4 -> 5.4.

Change-Id: I00adee2e10e99a540099b5e1a6a1ab9be0b99050
2022-06-24 14:23:05 +03:00
Alexander Koskovich
09a874fe75
kernel: Use LLVM's substitutes for GNU binutils if possible
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: I06884fb774b6548aad68942f1ce659384521c62a
2022-06-24 14:23:05 +03:00
Danny Trunk
20bf195599 soong: Add TARGET_USES_EGL_DISPLAY_ARRAY conditional
This soong variable is used to conditionally revert a commit [1]
which causes random camera crashes on tama devices

[1] a9550f3fe9

Change-Id: I749c7029f8f2b6d6d95b066aed4929c33e3c75e7
2022-06-16 17:04:56 +02:00
Bruno Martins
c93bdd63c8 partner_gms: Stop relying on exported vars for ATV and Automotive targets
Flag PRODUCT_IS_ATV must be set for all ATV targets,
so Automotive targets can follow and adopt PRODUCT_IS_AUTO as well.
No need to export WITH_GMS_TV or WITH_GMS_CAR anymore.

Change-Id: I7f35e7fa731f7cee239aff03c99b83975abbb56e
2022-06-10 11:10:55 +02:00
Sebastiano Barezzi
f224255cd9 soong: Drop TARGET_USES_QTI_CAMERA_DEVICE
* qcom-camera topic hasn't been ported to 19.1

Change-Id: Ifb053d215527d602109bbb451d96ec80cf028548
2022-05-19 16:05:23 +02:00