summaryrefslogtreecommitdiff
path: root/BoardConfigCommon.mk
AgeCommit message (Collapse)Author
2020-12-27sdm660-common: Don't declare BOARD_VENDORNolen Johnson
* Only matters when it differs from the device OEM. Change-Id: Id9af8263cb42dc7a0e3a9ce8677385e224910302
2020-12-27sdm660-common: Drop TARGET_USES_NEW_ION_API flagCosme Domínguez Díaz
* Deprecated Change-Id: Id50d6721cb1fb96bdb6d3ddb40b36a0147094b86
2020-12-27sdm660-common: Remove deprecated TARGET_USES_OVERLAYNolen Johnson
* This is defined nowhere in tree. Change-Id: Ib82c10b46489af30c06dbe26b4aa73fd1fb15fc6
2020-12-27sdm660-common: Kill BOARD_HAS_LARGE_FILESYSTEMLuK1337
* No longer exists. Change-Id: I7f5088b8daedd87107c94f4bddd45286d7453834
2020-12-27sdm660-common: Remove flag not applicable to the target devicesBruno Martins
TARGET_PROVIDES_KEYMASTER is a no-op because there's no OSS keystore for sdm660 devices. Change-Id: I740bdc65d04cdde7b4965a9ee4705b6d317daa4f
2020-12-27sdm660-common: Remove obsolete dex settingsAnton Hansson
This block is completely redundant because.. - WITH_DEXPREOPT := true is the default - WITH_DEXPREOPT_PIC is never read - DEX_PREOPT_DEFAULT := nostripping has no effect when the BOARD_USES_SYSTEM_OTHER_ODEX flag is set to true Test: make Change-Id: I618a1e395ca1a14555cd50eef1a4f1aa079b553d
2020-12-27sdm660-common: Kill deprecated/unneeded board flagsNolen Johnson
* MAX_EGL_CACHE_KEY_SIZE - Not used anywhere. * MAX_EGL_CACHE_SIZE - Not used anywhere. * PRODUCT_VENDOR_MOVE - No longer needed. * USE_OPENGL_RENDERER - Not used in any repos we build (msm8960 display HAL leftover). * BOARD_USES_QCNE - Only referenced in very old BSPs. Change-Id: I8d140fecdbbaac979bc8398745ffa95b911e4c89
2020-12-27sdm660-common: Remove TARGET_USES_64_BIT_BINDERKilian von Pflugk
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed Change-Id: I6b828da1fbcc8c054c5b35ff78c870a689f7ed9f
2020-12-27sdm660-common: Remove deprecated TARGET_BOARD_PLATFORM_GPUArne Coucheron
Change-Id: I40a14bce12ee4725af17a3e8fbc05143e5577f8e
2020-12-27sdm660-common: Remove unnecessary kernel board flagsZhao Wei Liew
TARGET_KERNEL_ARCH is a no-op unless it is different from TARGET_ARCH. TARGET_KERNEL_HEADER_ARCH is also a no-op unless it is different from TARGET_KERNEL_ARCH. Change-Id: If64fb040c8ec61394e2657f13e51ff7a08519220
2020-12-27sdm660-common: Remove ineffective BOARD_KERNEL_TAGS_OFFSET variableDaniel Mentz
Remove various variables related to where kernel and ramdisk are loaded by the bootloader. There are two reasons for this: 1. The B1C1 bootloader ignores all the offset values for kernel, ramdisk and tags. The default B1C1 memory layout has been designed to accomodate a larger KASAN kernel. 2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are ignored by the Android build system (unless they are copied into the BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which are referenced by build/make/core/Makefile Bug: 117832711 Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
2020-12-20sdm660-common: Drop QTI bluetooth stackMichael Bestas
Change-Id: Ifcbfb87a82e61e2d868c1889f026525210501223
2020-12-20sdm660-common: Remove deprecated telephony flagBruno Martins
The custom jar is dead for good in Android 11. Change-Id: I7f0f7afd186b00f01183bf4479092d03897e074a
2020-12-20sdm660-common: sepolicy: Use BOARD_VENDOR_SEPOLICY_DIRSFelix
BOARD_SEPOLICY_DIRS is deprecated. Change-Id: I046282b2a2e8c541726fb29cb0044503322d4be9
2020-12-20sdm660-common: Drop leftover WiFi state related flagLuK1337
* WIFI_DRIVER_OPERSTATE_PATH is no longer needed, also it's not ported to 17.0. Change-Id: Idfa7fb69428642300da2ddc6825774c9e692e648
2020-12-18sdm660-common: overlay: Update in pinned files.Nicolas Geoffray
Remove or update paths that don't exist. Bug: 119800099 Test: boots Change-Id: Ib2cea88499cf08274d620d9d85ffcafc31fee868
2020-12-18sdm660-common: Replace BOARD_CHARGER_DISABLE_INIT_BLANK with equivalent propBruno Martins
Change-Id: I00125a429cde213e8dd22f742c5875e39b80bb5e
2020-12-18sdm660-common: Replace BOARD_CHARGER_ENABLE_SUSPEND with ↵Yifan Hong
ro.charger.enable_suspend Test: charger mode Bug: 124118169 Change-Id: I3825d08e38d677bd7154879609857de302348b6f
2020-12-18sdm660-common: Move supplicant service init to wpa_supplicantJimmy Chen
Bug: 138790309 Test: boot and wifi function is ok Change-Id: I35cf3e03566443e20799623045eacd423fd7f5c4
2020-12-18sdm660-common: Update qcom sepolicy includeLuK1337
Change-Id: I7167575e82eb8c5de2d822643261757edda73a07
2020-09-12sdm660-common: Nuke deprecated bluetooth flagsErfan Abdi
Change-Id: Ifb145fbeef8146bb7246d49792ce3419065b6c92
2020-09-12sdm660-common: Set cpu "runtime variant" to cortex-a73Anton Hansson
This makes bionic and various art tools that compile/runs cpu-specific code choose the kryo variant at runtime. It does not affect build-time compilation. Bug: 120773446 Test: bionic benchmarks with and without this change Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
2020-09-12sdm660-common: Use generic arch variantAnton Hansson
Follow blueline which has not demonstrated any regressions after switching to a generic arch variant. Bug: 120773446 Test: make Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
2020-06-27sdm660-common: Switch to QTI bt stack and enable a2dp offloaddianlujitao
Change-Id: I47016b066ae800d0071dbad6a1235cbc9db3cf80
2020-06-23sdm660-common: Change USB autosuspend delay to 7s by commandline.Andrew Chant
b/71936484 has audio accessories failing to connect when there's a transition to suspend when they're attempting to enumerate. Avoid this problem by increasing autosuspend delay from the default 2s to 7s. The longest I've seen a device take to enumerate after vbus is ~3 seconds, this gives a 2x margin. Test: booted on Walleye, saw no more messages: [ 472.412555] c0 5675 msm-dwc3 a800000.ssusb: DWC3 in low power mode between device connection and enumeration. Bug: 71936484 Change-Id: Ic655f2ce6dec429510cc7c00452da4d49f2392b0
2020-04-30sdm660-common: Remove deprecated sdclang flagMichael Bestas
Change-Id: I3747f06f2366aacfbd5aeea5944d1c1fe0f7d82e
2020-04-30sdm660-common: Make FM radio opt-indianlujitao
Change-Id: Idaebe34e18d16d042e247f0f2b06c8012fe4d287
2020-04-30sdm660-common: Enforce vendor tree presenceChristopher N. Hesse
A compiled build has no chance of booting without the prebuilt binaries, so fail the build if those are not present. Change-Id: Iadd43e887d426732e549969ab8deb14194ca818d
2020-04-30sdm660-common: Decommonize cryptfs_hwChirayu Desai
* Not needed for file based encryption which is used on jasmine_sprout Change-Id: I92e8dafa5babc0d4cae5a7f599269a14fe645ae2
2020-04-30sdm660-common: Do not include BOARD_RECOVERYIMAGE_PARTITION_SIZE in A/B devicesSubhajeet Muhuri
Change-Id: Idfa9e31d7c7d607ecd2f07567232525b21e0a9ce
2020-04-30sdm660-common: Convert remaining configstore settings to propsLuK1337
Change-Id: Iadefa31bc863b7ab70239874bed82bef240cbba5 Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
2020-04-30sdm660-common: Add system properties for surfaceflingerSundong Ahn
The configstore will be not used in surfaceflinger. So surfaceflinger will use the system properties instead of configstore. For this, the system properties are added. Bug: 112386364 Test: m -j && boot test Change-Id: Ie3d2adccca06702217984cf2c9db986d852b7014
2020-04-30sdm660-common: Move all props to properties.mkErfan Abdi
* Also add more, drop unused props Change-Id: I4cf605b6f6a5e5fcf05e84ceb30497bb7a29cfab
2020-04-30sdm660-common: Drop framework matrixErfan Abdi
* We use target levels Change-Id: I36774f88e63f9361e62f7fcff4c7657cb7e03995
2020-04-30sdm660-common: Enable linker namespace isolationdianlujitao
Change-Id: Ib73797165a34e221c17ba6572a00adc760913442
2020-04-30sdm660-common: Migrate to new dt2w nodedianlujitao
Change-Id: Ib7f33e2463caffdf18c5590911fc593b139f160c
2020-04-30sdm660-common: Decommonize FM radiodianlujitao
Change-Id: I4c9564aed953013ea34b53ae883b6f5d683980c3
2020-04-30sdm660-common: Remove firmware class path for kernel firmware loadingVinay Verma
In ueventd support has been added to read firmware path from vendor.It wil parse /vendor/firmware_mnt/image information and add in look up path/search path for loading firmware. Change uid of /venodr/firmware_mnt back to system as kernel firmware loading is removed. Previouly to support kernel firmware loading root permissions were required. Change-Id: I741eb8e7edb88a963c997312cdebc657fc1177d1
2020-04-30sdm660-common: Build new GNSS HALdianlujitao
* Remove unnecessary dependencies on liblbs_core.so * Hardcode vendor loc HIDL version to 3.0 to enable vendor HIDL when building w/o BSP. Change-Id: I01f661f1d1e038737801f5a9db88e3388d470f74
2020-04-30sdm660-common: Update manifest from LA.UM.8.2.r1-05100-sdm660.0dianlujitao
Change-Id: I6710566f4ed4654dc674bb3cd485a35f60ff9cc6
2020-04-30sdm660-common: Tweak mkbootimg optionsdianlujitao
* Align with CAF * Decommonize system/vendor partition size Change-Id: Ia12bc52e88aca0df1c5881a6d253d20fb76109b6
2020-04-30sdm660-common: Decommonize fstabdianlujitao
Change-Id: I896f23812eccdd83762de04d7f175b4270ad2f77
2020-04-30sdm660-common: Checkout system.prop from LA.UM.8.2.r1-04300-sdm660.0dianlujitao
Change-Id: I9bde9589866490a8d3420c0118f3fd7ef62f2896
2020-04-30sdm660-common: Remove redundant build flagsdianlujitao
Change-Id: Ibb6bd907f8244bac5955f22510cdbdfa0791ebbb
2020-04-30sdm660-common: Change to cortex-a73 for target arch.Christopher Ferris
Bug: 37647380 Test: Did a checkbuild for a walleye target. Test: Ran bionic unit tests, ran art target tests on walleye. Change-Id: I301b4995b232ab3a3521cc14dbcf803468197685
2020-04-30sdm660-common: Remove bind mount for /persistdianlujitao
This reverts commit edf6b1d8bff72cd64b15eb522368b690a2500345. symlink is enough with P blobs Change-Id: Ibfbf225345dec92c48f65b42b6c7d4a90401d7a3
2020-04-30sdm660-common: Disable AUDIO_FEATURE_ENABLED_EXT_HDMIDavide Garberi
* This feature on ten has a dependency with libaudioparsers * Even adding the prebuilt lib as module won't work since the dependency relies on a proprietary qcom header "audio_parsers.h" Change-Id: I81c4b90d0d5e7839be102a312079283f89a10ecd
2020-04-30sdm660-common: Switch to device/qcom/sepolicy-legacy-um policyMichael Bestas
Change-Id: I09ee12755ab0a1f54a9dca4b92313ef1127db3d6
2020-04-30sdm660-common: Enable a flag for FMDavide Garberi
Change-Id: I22c062f813a96ff31663cc50c0c407ffc2fc83cf
2020-04-30sdm660-common: Convert audio flags into vendor propertiesDavide Garberi
* This is needed since CAF deleted most platform flags for msm8998 audio hal on ten * For reference: https://github.com/LineageOS/android_hardware_qcom_audio/commit/b1bec9c80b7dfa67f0a6da788d7580944e21887d https://github.com/LineageOS/android_hardware_qcom_audio/commit/e008ed26186069e2df8522b5bb4f6681c36ecff2 https://github.com/LineageOS/android_hardware_qcom_audio/commit/ae1018c3b0cdc2ed9a93ab667e238654d81c5726 Change-Id: Id8c91b23ad4d185176192905850483d13adb4d04
2020-04-30sdm660-common: add f2fs supportAkhil Narang
Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com> Change-Id: I32e2306ebee465e29874f4c32af87dabae9da095
2020-04-30sdm660-common: Remove custom kernel cross compile prefixdianlujitao
Change-Id: Icc58f38fa2f66b833c73902d6733f84b77dcb575
2020-04-30sdm660-common: Compile with clangDavide Garberi
* As of Q requirements Change-Id: I5303733a003dba81c79c72fd5edc60cf819b096b
2020-04-30sdm660-common: Correct define libinit variablejhenrique09
Fixes: 15:55:35 error: system/core/init/Android.bp:95:1: "libinit" depends on undefined module "//device/xiaomi/sdm660-common/init/libinit_sdm660" Change-Id: Ia1a58bea3df625fd76c060370dc7f9fa2a597765
2020-04-30sdm660-common: add /persist as an extra root folderDavide Garberi
Change-Id: Ifa7e2912a0ccf07b8c3ca4dd25d23640add4183b
2020-04-30sdm660-common: Remove obsolete RIL variant board flagBruno Martins
There's no CAF variant anymore. Change-Id: Ief74f8b2aa861b0d16ffab9b52304006008d2444
2020-04-30sdm660-common: Use BOARD_VNDK_VERSION := currentdavidevinavil
Change-Id: Iaf796d8002f958451ecfc7aa842efee1cc2c717a
2020-04-30sdm660-common: Generate the apex image.Nicolas Geoffray
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c Signed-off-by: Akhil Narang <akhilnarang.1999@gmail.com>
2020-04-30sdm660-common: Remove deprecated/useless flagsharan
Change-Id: I5199aff977d4e65d86de7edc3a15c3b3690da473 Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2020-04-30sdm660-common: Update dt2w proc nodeDavide Garberi
* Commonized procfs node for all the variants of tulip, whyred and wayne/jasmine Change-Id: I234761530e5567ac6d46ad9fa912496046c3c4bd
2019-09-18sdm660-common: Convert to 660 common treeDavide Garberi
Change-Id: I903039730f4181f6a326f28e0ea212db68bdabcc
2019-09-01wayne-common: Set TARGET_PROVIDES_QTI_TELEPHONY_JARMichael Bestas
* Avoids the following warnings on every single rebuild of anything: build/core/Makefile:34: warning: overriding commands for target `/out/lineage-16.0/target/product/wayne/system/framework/qti-telephony-common.jar' build/core/base_rules.mk:391: warning: ignoring old commands for target `/out/lineage-16.0/target/product/wayne/system/framework/qti-telephony-common.jar' Change-Id: Idffe1a95d5ddac0ef3d6c74e3d55293b553e51ba
2019-09-01wayne-common: Add BOARD_PLAT_[PUBLIC|PRIVATE]_SEPOLICY_DIRDan Cashman
Move vendor policy to vendor and add a place for system extensions. Also add such an extension: a labeling of the qti.ims.ext service. Bug: 38151691 Bug: 62041272 Test: Policy binary identical before and after, except plat_service_contexts has new service added. Change-Id: I1493c4c8876c4446a1de46b39942098bf49c79f8
2019-08-13Revert "wayne: Build with VNDK=current"Isaac Chen
This reverts commit 92cea1314ce8f9817ea872332171216084f31673. Change-Id: I79c7e8b8cb3453912464573e2150dc1e9e26254f
2019-08-13wayne-common: Specify cache for non-AB variant deviceIsaac Chen
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn> Change-Id: I93a8418c644a38ad7b00f0455d6d8e70e9a3d1ab
2019-08-13wayne-common: Enable 64 bit DRM plugins compilationUdaya Bhaskara Reddy Mallavarapu
Enable 64 bit compilation for DRM plugins. This will generate DRM plugins, HALs & oemcrypto_test in 64 bit. Change-Id: I451db39edea3446d9816fcaba77caa8d3b097afb
2019-08-13wayne-common: Add MATRIX file for vendor HAL'sVinay Verma
Change-Id: I6c7eed54f066e61ad8039eef5ee6081e6de43560
2019-08-13wayne-common: Move AtFwd hal from device to framework manifest.Ruthwar Ambeer
AtFwd hal is implemented as an android service and it stars from system partition, that is, it's not a traditional vendor hal and hence it should be declared in the framework manifest and not in the device manifest. This commit introduces new device specific framework manifest (framework_manifest.xml) and moves AtFwd hal from device to framework manifest. Change-Id: Iacdb5604a682b8462d16297f4b543928bb100282 CRs-Fixed: 2287149
2019-08-13wayne-common: Set partitions for loop device.Bindu Gokul
AdoptableHostTest in CTS uses virtual disk feature for testing. This change is to enable partitions for virtual disk. Change-Id: Ie03766738715ef54d4fa768033a96fdd76d3172b
2019-08-13wayne-common: Use build system to create mount point symlinksBruno Martins
Change-Id: I2672d6cd1b644c7ba9068a563755de6fde27bc57
2019-08-13wayne-common: Mount dsp and firmware in vendorVinay Verma
Change fstab to mount dsp and firmware to /vendor/dsp and /vendor/firmware_mnt. Add classpath for firmware loading /vendor/firmware_mnt/image in kernel command line. Change-Id: I2dd2e7ea6334fb979ad8ff8c755648748de93ab4
2019-08-13wayne-common: Enable boot and system server dex-preoptArtem Borisov
As stated in https://android.googlesource.com/platform/build/+/418258c this is required in O-MR1 since sepolicy now prevents system server from loading anything from /data making our system extremely slow and janky. Change-Id: I215ec7ebe95981ef0b953fe938e12b83675795ab
2019-08-13wayne-common: wifi: Enable WIFI_HIDL_FEATURE_DUAL_INTERFACEGuaiYiHu
See from https://source.android.com/devices/tech/connect/wifi-sta-ap-concurrency Change-Id: I64f9e7b76e6dffaf59cd78eae4ba3e75f3b13808
2019-08-13wayne-common: Inherit properties from makefileIsaac Chen
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn> Change-Id: I4c236a875144b87827ec1cb0943fd8d1e26e61ae
2019-08-02wayne-common: Set TARGET_2ND_ARCH_VARIANT to armv8-aIsaac Chen
Wayne targets are armv8 devices. Setting TARGET_2ND_ARCH_VARIANT to armv8-a, instead of armv7-a-neon, can silence the related warning during build. Bug: 68012286 Change-Id: I18ae3aa985fd6bff11f043a155f3685d9f6644b8
2019-07-29wayne-common Remove PRODUCT_COMPATIBILITY_MATRIX_LEVEL_OVERRIDEYifan Hong
Replace it with FCM Version = 1, specified explicitly in device manifest. Test: builds Bug: 69636193 Change-Id: I0f5689344bb7b10b2b5db2549e95c940c4812f9d Merged-In: I0f5689344bb7b10b2b5db2549e95c940c4812f9d
2018-12-02wayne-common: Remove unused partition definesIsaac Chen
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02wayne-common: rootdir: Support A/B fstabIsaac Chen
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>
2018-12-02wayne-common: Convert into common treeIsaac Chen
Signed-off-by: Isaac Chen <isaacchen@isaacchen.cn>