Commit graph

3982 commits

Author SHA1 Message Date
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
Michael Bestas
8ab31cfc01
kernel: add pahole dependency
This is needed for 5.10+ T kernel build.

Change-Id: I0729af39cad5509ea3bc8629fdf1176156be6c08
2022-09-28 22:03:50 +03:00
Michael Bestas
564debf739
vars: unify raviole & bluejay kernels
Change-Id: I05555bfc1cd9a9a4e3a8317e4818f35ea3ee26c8
2022-09-28 22:03:46 +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
Georg Veichtlbauer
e5dd08cbaa apns: Clean up Austrian carriers
* There was a lot of shuffling and renaming going on
* A1 & Yesss do support IPv6, but NOT on roaming

For reference:
a1: https://www.a1.net/handyhilfe/topic/internet/apn-einstellungen/device/samsung/galaxy-a52

magenta/t-mobile: https://www.magenta.at/hilfe-service/services/hardwaresupport/device/samsung/galaxy-s9/topic/internet/internet-einrichten-apn-einstellungen/choice/magenta-apn-einstellungen

3: https://www.drei.at/de/info/support/handyeinstellungen/

hot: https://www.hot.at/config/faqs/HoT_Einstellungen_Endgera_te.pdf

bob: https://www.bob.at/wp-content/uploads/IOS_APNs.pdf

yesss: https://www.yesss.at/fragen/erste-schritte-mit-yesss#faq_62

spusu: https://www.spusu.at/faq-apn

Change-Id: I2b3aab5f4c176a3dbc8e609de354b84586094ab2
2022-09-21 22:56:25 +02:00
Chirayu Desai
404fb47daf fixup! Hookup GRALLOC_HANDLE_HAS_RESERVED_SIZE
Change-Id: Id12058a238c241acb138e3e419bb0bab8280e51b
2022-09-20 01:50:24 +05:30
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
Luca Stefani
a1af8cb166 kernel: Allow passing empty DTB to mkbootimg via board-flag
* Boot Image header v2 demands a DTB be passed by default.
* We don't /need/ one at all, as we have and use a dedicated
  DTB partition.
* Signing hates trying to find dtb.img anywhere for some magical
  reason, so cheat and introduce a flag to include a blank one.

Change-Id: I889ce3815476a55829870b30de1b9210283a79ae
(cherry picked from commit fa16b42ddd1eb341f201b8d810c717ea12afe1cb)
2022-09-15 23:02:14 +02:00
Aaron Kling
26ddee9327 overlay: Use -television instead of -large-notouch for atv
Mobile builds on devices with no touch panel are also getting these
settings applied, which is not intended.

Change-Id: I0e0e1635ec21f0fbddcaef311b443b80f2da2b86
2022-09-14 05:45:15 +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
Chirayu Desai
96d8875e93
vars: 6a: September 2022 Security update
Change-Id: I2e807fe0a0236a33cf9b4d5c757e088b77413b05
2022-09-13 03:46:03 +03: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
Michael Bestas
5e7a78e40f
vars: Update redbull & msm-4.14 kernels
Change-Id: Ifdb7eb6cdd9601e3cd1e3f9dfb4820d9fc0472ad
2022-09-08 04:39:49 +03:00
Michael Bestas
1f00a93cc7
vars: Set device_branch
Change-Id: I0ff21512e3e880b5c8fef39ee27482a24293a0c7
2022-09-08 04:12:13 +03:00
Chirayu Desai
1cdb56f4ee
b4s4: September 2022 update
Change-Id: I807daded5ce6504c8b75b279af7df2141b4afe53
2022-09-07 18:18:48 +03:00
Chirayu Desai
862b9f17bb
September 2022 Security update
Change-Id: I8bcb25dfa6bb61407e0b78a9adc9cf97e971c026
2022-09-07 18:17:10 +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
Nicholas Merill
5c6026fa40 sensitive_pn: Updates to USA list
Change-Id: I4405a50d00d7bc3b0d70e5233104895aaecb4cde
2022-08-26 14:22:40 +02:00
Michael Bestas
13c6310dc8 vars: Update qcom tags and add waipio tags
Change-Id: I41ba3dc920b88a650bf6b394d1f6d42b31db240d
2022-08-25 15:45:24 +02:00
Michael Bestas
73732cd931 envsetup: cafremote -> cloremote
Adapt function for .gitupstream so we always get the correct
remote without needing to calculate the path manually.

RIP CodeAurora

Change-Id: I56720dfb859a08c53e79255a9e5e61e7a2e50619
2022-08-25 15:44:58 +02:00
Michael Bestas
be30384d5f
overlay: Define local contact name and type
Change-Id: I505c2b187a0aa7cfe28ab7b4cbb970baac376287
2022-08-23 18:32:51 +03: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
eb72c64757
soong: generator: Replace android.SourceDepTag usage with IsSourceDepTagWithOutputTag
Change-Id: Iad5d9a07d06a7efda233cc8d3387e8db5c3b0ab5
2022-08-23 02:02:20 +03:00
Michael Bestas
7501a9bb4d
vars: Android 13
Change-Id: If028efde06ada5bc351f89fa001bf42e4cfb0bca
2022-08-23 02:02:19 +03:00
Arian
504571afb7
Lineage 20.0
Change-Id: I49cf6e7d02ecc36c03b27f50d4b35a70510de6e9
2022-08-23 02:02:19 +03:00
Michael Bestas
5dfc89a4db
kernel: Always build dtb targets before dtbo.img
Fixes:
error: unable to open output file
'arch/arm64/boot/dts/google/devices/bluejay/google-base/.gs101-b0.dtb.dts.tmp':
'No such file or directory'

Change-Id: I457062e46062fb3553421d196b432de7d06a49ad
2022-08-13 15:16:31 +03:00
Michael Bestas
319d4c4e9a
kernel: Add support for vendor_boot image header version 4
vendor_boot v4 supports packaging multiple "fragmented" vendor ramdisks.
A secondary can be used to store the kernel modules instead of storing
them in the "normal" vendor_ramdisk.

Test: Create a vendor_boot with source built kernel/modules,
      gs101 still boots.
Change-Id: Ic295ccf201c2593e08b9559ae28f80c70a7eb341
2022-08-13 03:02:44 +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