summaryrefslogtreecommitdiffstats
path: root/core/tasks
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* U-Boot taskPaul Kocialkowski2017-06-051-0/+55
| | | | 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-021-3/+0
|\ | | | | | | replicant-6.0
| * build: core: Remove BUILD_TINY_ANDROID checksZhao Wei Liew2017-03-051-3/+0
| | | | | | | | | | | | This flag has been obsolete for a while now. Change-Id: Ib78a1b141ddd757d2546b2eff2158e6e0cc0d673
* | Merge branch 'cm-13.0' of https://github.com/LineageOS/android_build into ↵Wolfgang Wiedmeyer2017-02-111-11/+2
|\ \ | |/ | | | | | | | | replicant-6.0 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
| * 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: Rebrand to LineageOSZhao Wei Liew2016-12-271-1/+2
| | | | | | | | Change-Id: Ie03583dc2a974a159fa50c6cb19cb68aa256ca77
* | Standalone recovery kernel buildWolfgang Wiedmeyer2017-01-111-4/+42
| | | | | | | | | | | | 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-133-6/+33
|\ \ | |/ | | | | replicant-6.0
| * kernel: Auto-set prefix based on KERNEL_ARCHDan Pasanen2016-11-101-4/+10
| | | | | | | | Change-Id: I5c83e7de97b75ece9a1306cb20b058d9fd30e288
| * dt_image: Rename targetBrandon McAnsh2016-08-191-2/+2
| | | | | | | | | | Change-Id: I2fbe952b55296b6e1a533d071c769788ab3f14ae Signed-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>
| * build: Add dt.img and kernel targetluca0204002016-08-182-0/+7
| | | | | | | | Change-Id: I4a266d8bd2b01ec4ec696f10f0cc7e912f25a38a
| * build: Create a oem image when BOARD_OEMIMAGE_FILE_SYSTEM_TYPE is definedDiogo Ferreira2016-04-151-1/+10
| | | | | | | | | | | | | | | | | | | | This adds the capability of generating a OEM image with the build and adding it to target files when BOARD_OEMIMAGE_FILE_SYSTEM_TYPE is set. Change-Id: I6c596d58d9d5ece1a261d953eeb8c60eac30e642 Ticket: CYNGNOS-936 (cherry picked from commit 1966a9e7c22b95eb4c16be6aee7adf43cb6ce118)
| * build: Use compatibility DTB directory path for custom DTB tool buildsEthan Chen2016-04-131-1/+6
| | | | | | | | | | | | | | | | * dtbToolCM is able to search subdirectories, but we are not guaranteed that other dtbTool binaries have the same capability. Re-specify multiple paths for non-dtbToolCM builds just in case. Change-Id: Id69e000af5eba60a07662b178cb95950451efd17
* | Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_build into ↵Wolfgang Wiedmeyer2016-03-181-21/+49
|\ \ | |/ | | | | | | | | replicant-6.0 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
| * kernel: add banner for defconfig and header install stepsKhalid Zubair2016-03-041-0/+2
| | | | | | | | Change-Id: Iddf9e1e206823573ebc38a8956a029d08dee83de
| * kernel: allow toolchain prefix to be overriddenKhalid Zubair2016-03-041-4/+5
| | | | | | | | | | | | | | | | Allow the toolchain prefix defined in BoardConfig.mk to be overridden via by setting KERNEL_TOOLCHAIN_PREFIX (alongside KERNEL_TOOLCHAIN) to compile with an alternate toolchain. Change-Id: If6f4f0dba9bd0b0056f76e380070cca74ea0a4df
| * kernel: add docs for config varsKhalid Zubair2016-03-041-0/+34
| | | | | | | | | | | | | | Add a header with documentation for the config vars currently in use by the Kernel build. Change-Id: I6930b41d716baabbb16c2f407b6b9fe6e5f2b4c8
| * kernel: remove support for unused MTK KernelKhalid Zubair2016-03-041-13/+0
| | | | | | | | | | | | Remove unused MTK kernel build support. Change-Id: I4f4df078ae03b1bd5edc7000e5b942bfc05c02bd
| * kernel: Don't use override config in kernel(x)configMichael Bestas2016-02-201-4/+1
| | | | | | | | | | | | * It defeats the whole purpose of using KERNEL_CONFIG_OVERRIDE Change-Id: Ia405562a0dcf623ae2bfca2803c2d3427d84bf0a
| * build: add build module from rootArtefvck 072016-02-201-0/+7
| | | | | | | | | | | | Zenfone 5 have copies module to root , we use it Change-Id: I734e45a09d445e97f2b3834c5941db27e537b803
* | Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_build into ↵Wolfgang Wiedmeyer2016-02-031-1/+14
|\ \ | |/ | | | | | | | | replicant-6.0 Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
| * build: force .config update if additional kernel config changesScott Mertz2016-01-261-1/+14
| | | | | | | | | | | | | | | | | | This patch forces a regeneration of the .config if either the contents of TARGET_KERNEL_ADDITIONAL_CONFIG changes or the value of TARGET_KERNEL_ADDITIONAL_CONFIG changes. OPO-360 Change-Id: Ide28be3fab01b9f9ad72aa9d8706131e2b9ac0c7
* | Merge branch 'cm-13.0' of https://github.com/CyanogenMod/android_build into ↵Wolfgang Wiedmeyer2016-01-142-19/+49
|\ \ | |/ | | | | replicant-6.0-toolchain
| * kernel: Fix usage of KERNEL_ARCHMichael Bestas2016-01-051-2/+8
| | | | | | | | | | | | | | * x86_64 defconfigs live in arch/x86/configs * Use KERNEL_ARCH instead of TARGET_KERNEL_ARCH Change-Id: Idc191ea658fc4100bc7ad40958023c5f936daf44
| * kernel: prevent targets from being rebuilt needlesslyKhalid Zubair2016-01-041-10/+18
| | | | | | | | | | | | | | | | | | | | | | Fix some rules that listed directories as their dependencies. Directories are always out-of-date because the rules that depend on them touch file under the directories they depend on them. Replace the directory dependencies with stamp file rules that handle directory creation. Change-Id: I2b36c846b6565b7f9aba5bb7583576ad300983b8
| * kernel: don't build modules or dtbs unless enabledKhalid Zubair2016-01-041-5/+19
| | | | | | | | | | | | | | | | | | | | | | Build modules and dtbs only if enabled. The make commands were allowed to fail silently to support builds that did not have these options enabled. This had a side effect of allowing builds to complete even if modules failed to build. Don't suppress these error anymore. Change-Id: I842124b465d9e14edd6a09ffe54f09da32f10632
| * py3: update check_boot_jarsAnthony King2016-01-041-3/+5
| | | | | | | | Change-Id: I71ba943fb8c23713efc7c2a815fd2ddb9fa659f2
* | use the GNU/Linux Distribution's arm toolchain for the kernelWolfgang Wiedmeyer2016-01-081-4/+4
| | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | X-Loader taskPaul Kocialkowski2015-12-151-0/+59
|/ | | | Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
* core: tasks: Use KERNEL_ARCH in dt_image taskluca0204002015-12-121-1/+1
| | | | | | * KERNEL_ARCH equals to TARGET_ARCH or TARGET_KERNEL_ARCH if specified Change-Id: I906e04fd646467ce70da92cb047f0fa0a6ebdb94
* build: only specify least specific directory to dtbtoolScott Mertz2015-12-111-1/+2
| | | | | | | | | | | New kernels (3.18) place dtb files into the qcom subdirectory, but older kernels simply create a qcom subdirectory and place the dtb files at the same level in the heirarchy. Rather than looking for the first directory that exists, dtbtool has been modified to search all subdirectories for dtb files, and therefore we have to remove the specific subdirectories. Change-Id: I82e948c0a20605f051a60fdfaae9679e1fa6555e
* kernel: add `make kernelxconfig' targetKhalid Zubair2015-11-241-2/+4
| | | | | | | | | kernelxconfig is identical to kernelconfig except that it launches xconfig instead of menuconfig. xconfig easier to use if you need to search the Kconfig tree. Change-Id: I6d91c7e3efbc9f172b040425f2ec545e3f03b44d (cherry picked from commit 60ca2b7897b552ce5dee2633fc84906222579763)
* dt_image: Fix build errordhacker292015-11-061-0/+1
| | | | | | build/core/tasks/dt_image.mk:38: *** missing `endif'. Stop. Change-Id: If333d378e091ff9d333729dc8a75323966954194
* core: Account for prebuilt DT imagesChristopher N. Hesse2015-11-051-0/+1
| | | | Change-Id: I52b49fd3e9fc0cb196372e3249c7e3d8b888cdd1
* build: Don't load dt.img task if custom mkbootimg is usedEthan Chen2015-11-051-0/+2
| | | | Change-Id: I7617554a8dc6f44ea0c6a713d834da4fe558caec
* build: create dt.img taskLuca Stefani2015-11-021-0/+34
| | | | | | * Remove dt.img creation from generate_extra_images Change-Id: I676b588cd9acb671771acda638abefee036f0519
* build: skip checking boot jars by defaultScott Mertz2015-10-301-0/+2
| | | | | | | | Currently, builds are failing this because of non-whitelisted classes in the boot jar. Lets disable this check until we can refactor the code. Change-Id: I1d4b231d43702441a2d5ee9e3c058b9b2a88a38c
* kernel: Don't update defconfig with KERNEL_ADDITIONAL_CONFIG optionsMatt Wagantall2015-10-271-1/+5
| | | | | | | | | | | | | | | | | | If 'make kernelconfig' is run in an environment where KERNEL_ADDITIONAL_CONFIG is set, the options in the additional defconfig will be saved back to the defconfig when savedefconfig is performed. While not really a bug, this increases the likelihood of someone accidentally committing these changes or getting confused by unexpected deltas added to their defconfigs. Fix this by skipping the merge-config.sh step for the 'kernelconfig' make target. As a side-effect, options in KERNEL_ADDITIONAL_CONFIG will also not be displayed in menuconfig. This is not easily avoidable, and arguably not wrong anyway. Change-Id: I920be0338bb8afc87f6061c55aafb27ba658974d
* kernel: use merge-config.sh for integrating KERNEL_ADDITIONAL_CONFIGMatt Wagantall2015-10-271-4/+8
| | | | | | | | | | | | | | Using 'cat' to combine defconfig fragments is not, in general, safe. Overriding options is not correctly handled, and it's possible to produce illegal configurations which violate Kconfig dependency constraints. Instead, use the merge-config.sh script from the kernel tree which more intelligently combines defconfig fragments. An 'alldefconfig' make target is also introduced, as merge-config.sh depends on it. Change-Id: I91a8c5e4bcf7072a3f95651dffe17380174134e4
* Fix libelf path for mmAlvin Francis2015-10-121-1/+1
| | | | | | | | | Fixes kernel build on darwin Updated for cm-13.0 Change-Id: Ic6cdb1734d7b865491e8e61403d32db4acafe514 Signed-off-by: Alvin Francis <nivlafx@gmail.com>
* Add support for mediatek platformsRicardo Cerqueira2015-10-091-0/+13
| | | | | | | | This includes optional support for building the kernel with mediatek's build system, which is usually included with OEM source drops for this platform. (enabled by BOARD_USES_MTK_KERNELBUILD:=true) Change-Id: I69fb50aa17d9c171bf8a7c220a0707c4bc570733
* kernel: Fix kernelconfig buildMichael Bestas2015-10-091-1/+1
| | | | | | * Copy the generated defconfig to the correct directory Change-Id: Ia8e259946d67501675dd5a3433165d54df6c13c5
* build: kernel: arm64 uses Image.gz as the targetScott Mertz2015-10-091-1/+5
| | | | | Change-Id: Icc194d2a16f9ffcf5803226fc1f2a5b091b4d861 (cherry picked from commit 24ddce302503e9408c47bd571a0d510546dcfd1a)
* build: Add support for additional kernel config snippetSteve Kondik2015-10-061-0/+11
| | | | | | | | | * Add support for TARGET_KERNEL_ADDITIONAL_CONFIG which will append a config snippet from arch/$ARCH/configs/ to the main defconfig. * This can be used for various things, such as including DIAG support into debuggable builds. Change-Id: Ifa48688a3f951dd8ecc9a13a27de3a476e7bf633
* build: kernel: Fix stray "@"Ricardo Cerqueira2015-10-061-2/+2
| | | | | | | | Nested "$(hide)"s (makefile @) don't work. There was one at the beginning of the script, remove the inner one to prevent it from being interpreted as a shell command Change-Id: I08a829ee56b212366a0f5a3812f7a614667a9c2b
* Fix kernel.mk if SELINUX or VARIANT_DEFCONFIG is defineddhacker292015-10-061-2/+2
| | | | | | | KERNEL_HEADER_DEFCONFIG was ignoring SELINUX_DEFCONFIG thus breaking all selinux support Change-Id: Idc3367d6b4b85343078e63e87dca6d6d052e7f53
* core: More flexible kernel configurationSteve Kondik2015-10-061-34/+96
| | | | | | | | | | | | * Allow various combinations of kernel vs. userspace architectures * Get rid of various assumptions about everything being ARM or 32-bit * This adds the following target flags: TARGET_KERNEL_ARCH TARGET_KERNEL_HEADER_ARCH KERNEL_HEADER_DEFCONFIG TARGET_KERNEL_CROSS_COMPILE_PREFIX Change-Id: If0bc202abd35c216ba3ea5707ffdb602526d8ed3