summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Shorten the build fingerprintHEADreplicant-6.0Wolfgang Wiedmeyer2017-06-121-1/+1
| | | | | | | | | | It can exceed its maximum length for devices with longer codenames (e.g. espressowifi). PRODUCT_BRAND is set to "Android" which doesn't say much and TARGET_VENDOR_DEVICE_NAME should always have the same codename that is already set in the build target TARGET_VENDOR_PRODUCT_NAME, so no information is lost. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* U-Boot and Xloader: use arm-none-eabi toolchainWolfgang Wiedmeyer2017-06-052-2/+2
| | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* kernel: mkimage dependency for U-Boot kernelsWolfgang Wiedmeyer2017-06-051-1/+6
| | | | | | | | | | | | | | Based on Paul's Replicant 4.2 patch: commit 3e39ecabad250118c613b71e01738bb4c7a4d51c Author: Paul Kocialkowski <contact@paulk.fr> Date: Fri Apr 25 11:43:26 2014 +0200 kernel: mkimage dependency for U-Boot kernels Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* bootloaderimage targetPaul Kocialkowski2017-06-052-0/+7
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* U-Boot taskPaul Kocialkowski2017-06-052-0/+57
| | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* kernel: Add support for the LOADADDR parameter.Denis 'GNUtoo' Carikli2017-06-051-1/+5
| | | | | | | | | | | | | | | | Without that fix we have: Kernel: arch/arm/boot/zImage is ready multiple (or no) load addresses: This is incompatible with uImages Specify LOADADDR on the commandline to build an uImage make[3]: *** [arch/arm/boot/uImage] Error 1 make[2]: *** [uImage] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/home/gnutoo/embedded/android/replicant-4.0/kernel/goldelico/gta04' make: *** [TARGET_KERNEL_BINARIES] Error 2 While building a recent kernel (3.10 based in that case). Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
* Merge branch 'cm-13.0' of https://github.com/LineageOS/android_build into ↵replicant-6.0-0001Wolfgang Wiedmeyer2017-05-028-10/+43
|\ | | | | | | replicant-6.0
| * MOB31Tgitbuildkicker2017-04-061-1/+1
| | | | | | | | | | Change-Id: Ibe043d997008c9157fb59237ab088e5e3a82f22c (cherry picked from commit bbaab6139330ce3b8cac8e99e7b83f6395784100)
| * Update Security String to 2017-04-01 on nyc-devAdam Seaton2017-04-061-1/+1
| | | | | | | | | | | | | | Bug:35314737 Change-Id: I10b7a9f66524ab64f9b8033b2e9ef353ee4aae12 (cherry picked from commit 93c1a722c2c579a7360a160c77c754382018f348)
| * roomservice: handle devices with underscoresMichael Gernoth2017-03-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change correctly handles devices with underscores in their name even if there is a device with the same name after the last underscore (spyder, umts_spyder) by not allowing any underscores in the manufacturers name. Without this change, spyder gets resolved to: device/motorola_umts/spyder device/motorola/spyder Only the last one is valid. With this change, both spyder and umts_spyder get resolved correctly. Change-Id: I0c95ff126d827a2d6b58875dfcb9327e999f4913
| * Updating Security String to 2017-03-01 on nyc-devAdam Seaton2017-03-211-1/+1
| | | | | | | | | | | | | | | | b/34345751 Change-Id: I55d9ba3f16264f9e4f9ad72e861527a3f8ae566c (cherry picked from commit 003e5aad03b405c7aecc63339c2d7995ddcbaaa9) (cherry picked from commit 0ed26601263463d7f024d75ba2998baad39caa38)
| * Update su binary added with addonsu zipGabriele M2017-03-153-0/+40
| | | | | | | | | | | | | | | | | | | | Generate zips that include the su binary out of the system image when WITH_SU is not true. This allows to update the binary that was installed with the addonsu zip. Note: this requires backuptool to work and user builds are excluded. Change-Id: Idc905e3397816b7d3701c43bbb809878f0d22b9b
| * Update security patch level to 2017-02-01.mh0rst2017-03-131-1/+1
| | | | | | | | Change-Id: Ibebbc75c4c825b72f084c569466bca0d0866bfc6
| * build sign_target_files_apks.py: clean tmp on exitSam Mortimer2017-03-121-0/+2
| | | | | | | | | | | | | | | | Currently, this script creates and leaves nearly 2GB in tmp per run. Clean up on exit. Change-Id: I4247dd2508e9d27de57c611c18e70800d7a47f33 (cherry picked from commit 462425468899f264155a3413aab75a099d1bbd25)
| * build: core: Remove BUILD_TINY_ANDROID checksZhao Wei Liew2017-03-052-7/+0
| | | | | | | | | | | | This flag has been obsolete for a while now. Change-Id: Ib78a1b141ddd757d2546b2eff2158e6e0cc0d673
* | add heimdall to every buildWolfgang Wiedmeyer2017-04-301-0/+1
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Enable -fstack-protector-strong for arm.Elliott Hughes2017-03-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This results in nearly all functions with the possibility of stack corruption getting stack canaries, because it applies to any function taking a reference to the frame or with a local array rather than just the functions with arrays larger than 8 bytes. It was developed for use in Chrome (and Chrome OS) and has also been adopted by various other distributions (Arch, Fedora, Ubuntu, etc). The code size increase ranges from ~1.5% to ~2.5%, compared to ~0.3% to ~0.7% with the more conservative switch. The increase in the performance loss is usually minimal. The overall size increase once everything other than C and C++ code is taken into account is minimal, and it greatly improves the mitigation of stack buffer overflow vulnerabilities. https://lwn.net/Articles/584225/ Change-Id: Iccc20852db8a5e4dd9792f9da6d5e325fc59b0a5
* | build sign_target_files_apks.py: clean tmp on exitSam Mortimer2017-02-141-0/+2
| | | | | | | | | | | | | | Currently, this script creates and leaves nearly 2GB in tmp per run. Clean up on exit. Change-Id: I4247dd2508e9d27de57c611c18e70800d7a47f33
* | Add relocation packer as dependencyWolfgang Wiedmeyer2017-02-142-1/+2
| | | | | | | | | | | | Relocation packer is built from source. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | rename release key dir to replicantWolfgang Wiedmeyer2017-02-142-2/+2
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Always build superuserWolfgang Wiedmeyer2017-02-121-0/+2
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Fix libs list for manifest mergerWolfgang Wiedmeyer2017-02-121-0/+4
| | | | | | | | | | | | Newer manifest merger expects colons instead of spaces. Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Merge branch 'cm-13.0' of https://github.com/LineageOS/android_build into ↵Wolfgang Wiedmeyer2017-02-1116-127/+201
|\ \ | |/ | | | | | | | | replicant-6.0 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
| * dumpvar: Close yo' parens on RECOVERY_VARIANTKevin F. Haggerty2017-02-081-1/+1
| | | | | | | | Change-Id: Iedca93d7990fd8cd67e2086fe5bc151964d1059f
| * dumpvar: Dump RECOVERY_VARIANT if not emptyPaul Keith2017-02-081-0/+3
| | | | | | | | | | | | | | | | * As more and more people are building twrp, let's remind them what they are doing Change-Id: I60b9d708f9192b9014d94c248fab8385b95951cf Signed-off-by: Paul Keith <javelinanddart@aidenswann.com>
| * Add dumpvar for WITH_SUAbhisek Devkota2017-02-081-3/+5
| | | | | | | | | | | | | | | | | | -Allow folks to see easily if the term session they are in has WITH_SU set to true -Also add a dumpvar rule for WITH_GMS for those that have it -Remove unused CYNGN dumpvar rules Change-Id: I8cba8ffecd8f8943c69326ae07bcc17ea61e3f34
| * Include make_f2fs/mkf2fsuserimg in otatoolsTom Powell2017-02-031-0/+2
| | | | | | | | Change-Id: I1657ae2ca79214eab70e8976f6f59e6b5433afcd
| * Update security patch level to 2017-01-01.mh0rst2017-01-291-1/+1
| | | | | | | | Change-Id: I21cea7dab2ab3236521a171ffa63dae6bb12cccd
| * ota_from_target_files: Fix cherry-pick errorZhao Wei Liew2017-01-251-5/+5
| | | | | | | | | | | | | | | | | | | | In commit 24d91d8dd36b1b2a681461bea56a44605521861e, info_dict is yet to be initialized when it is checked for "ota_override_device" and "ota_override_prop". Move the checks down to after info_dict is initialized. Change-Id: Ibcbc4f993dcd2dd281ec19624107dddd994fd497
| * core: Fix unified trees with no TARGET_OTA_ASSERT_DEVICEGabriele M2017-01-231-1/+1
| | | | | | | | | | | | | | If TARGET_OTA_ASSERT_DEVICE is not set, TARGET_DEVICE should be used for OTA_SCRIPT_OVERRIDE_DEVICE. Change-Id: If382dfa29dddb39498dec5f5eadc9895b7c47d88
| * core: include libf2fs_fmt_host_dyn in otatoolsTom Powell2017-01-231-1/+2
| | | | | | | | Change-Id: I4f31352139b2f38570f0370afff3901999082e48
| * ota_from_target_files: Remove device dependent argumentsGabriele M2017-01-232-21/+12
| | | | | | | | | | | | | | | | | | | | | | These device-specific arguments are defined at build time and are necessary to generate the zip correctly. Don't use command line arguments to specify them, but write all the needed information in misc_info.txt when the target-files zip is generated. ota_from_target_files will then read misc_info.txt and set everything automatically. Change-Id: Ibdbca575b76eb07b53fccfcea52a351c7e333f91
| * releasetools: support reading release keys out of some sort of commandTom Powell2017-01-231-1/+16
| | | | | | | | | | | | | | key passphrases may live in some sort of secure storage, support running an arbitrary command to retrieve them. Change-Id: I49862cf60f1b73a2356e0c492e1038beef28a95f
| * releasetools: Add script to sign zipsGabriele M2017-01-231-0/+69
| | | | | | | | Change-Id: I9cbeb6edea79a7e9bb0fc692e53497b54058d67f
| * build: kernel: Remove obsolete checksZhao Wei Liew2017-01-131-10/+0
| | | | | | | | | | | | | | | | * BOARD_USES_UBOOT is unused. * Same goes for BOARD_USES_UNCOMPRESSED_BOOT. Furthermore, it is superseded by TARGET_USES_UNCOMPRESSED_KERNEL. Change-Id: I9f0e2848fcd0cd212bccacf14df55ad03f821051
| * build: support lineage device treesSimon Shields2017-01-093-21/+41
| | | | | | | | Change-Id: I087a97e31cab2ccfba16b5378cef429785baf7d0
| * core: move platform-specific helper macros to target makefilesDan Pasanen2017-01-083-6/+6
| | | | | | | | | | | | | | | | | | * These (qcom specifically) are now needed sooner than we had previously been importing them. Include them within their <platform>_target.mk makefiles. This ensures they'll be imported before their macros are needed. Change-Id: I06c6ab66446e2f0b54c245cf6c2cf665b649e0c9
| * build: envsetup: Update CAF remoteZhao Wei Liew2017-01-081-1/+1
| | | | | | | | | | | | CAF recommends using https://source.codeaurora.org/quic/la now. Change-Id: Ic8d6451111f0e71bce044ffaae79f0acfc34caa1
| * build: qcom_target: Define MSM_VIDC_TARGET_LISTZhao Wei Liew2017-01-081-0/+5
| | | | | | | | | | | | | | | | | | | | 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
| * build: qcom_target: Clean up QCOM_HARDWARE_VARIANT checksZhao Wei Liew2017-01-081-18/+20
| | | | | | | | Change-Id: I97f812412f94a0638e78eaf7e45112b6924120a9
| * Revert "Add PRODUCT_BOOTANIMATION"Luca Stefani2017-01-052-7/+0
| | | | | | | | | | | | | | | | | | | | | | Replace this with TARGET_BOOTANIMATION as part of the rework of the boot animation generation process in vendor/cm change Iee32f18440ff955d13ed85b273e97cbd540721fc. This reverts commit b2483ae08c00c42bd97f3b9e2ba5e841ec243d62. Change-Id: Id6fc55ee1bc0149f25e6165a3e5f3209ad4424fc (cherry picked from commit 74b511974651cbbcffd6e472777d33b4bf9ae5bc)
| * qcom_target: Remove unused support for CAF manifestsEthan Chen2017-01-041-16/+0
| | | | | | | | | | | | | | | | | | * 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
| * build: Rebrand CM_VERSION to LINEAGE_VERSIONZhao Wei Liew2017-01-023-3/+3
| | | | | | | | Change-Id: I8b44007ebbe395df3c989be37a5d45339f111130
| * build: dumpvar: Display version as LINEAGE_VERSIONBrandon McAnsh2016-12-311-1/+1
| | | | | | | | | | Change-Id: Iebdb9bb97787901096d629b469a9dca6bb50528d Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
| * build: Rebrand to LineageOSZhao Wei Liew2016-12-277-22/+25
| | | | | | | | Change-Id: Ie03583dc2a974a159fa50c6cb19cb68aa256ca77
* | keep up with latest manifest merger in DebianWolfgang Wiedmeyer2017-02-091-1/+1
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Standalone recovery kernel buildWolfgang Wiedmeyer2017-01-112-5/+46
| | | | | | | | | | | | Port of commit f6fe3cf5 from Replicant 4.2 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_build into ↵Wolfgang Wiedmeyer2016-12-131-2/+2
|\ \ | |/ | | | | replicant-6.0
| * Updating Security String to 2016-12-01Adam Seaton2016-12-121-2/+2
| | | | | | | | | | | | | | | | CYNGNOS-3312 mnc-dev b/32249855 Change-Id: I0ff4dccb4e307e35fb9fcc6b1e0267f5476a5898
* | Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_build into ↵Wolfgang Wiedmeyer2016-12-1328-82/+324
|\ \ | |/ | | | | replicant-6.0