{"push_id":1291927019,"size":9,"distinct_size":9,"ref":"refs/heads/N","head":"bc9eb4cc5d8b420c48021c60fbedf8ebd1394282","before":"9516ef3ab19004bbab6adf0094f1cf7f972f9bbb","commits":[{"sha":"bcfa4927313ab60826a5a7f93f7bf69dd8e3f03c","author":{"name":"Ricardo Cerqueira","email":"f27a17fc90c00d8c248d8510a1084221738b492b@cerqueira.org"},"message":"build: Inline kernel building as a buildtime task\n\nKernel image integration is now done in the build system. The\n\"one true way\" of doing this is to download the kernel source\ninto kernel/TARGET_BOOTLOADER_NAME (by usage of the cm.dependencies\nmechanism or otherwise), and defining the TARGET_KERNEL_CONFIG\nvariable in the device's BoardConfig makefile\n\nIf the kernel's location doesn't match the automagic location\n(multi-device kernel source, for instance), TARGET_KERNEL_SOURCE\ncan be used to specify a kernel path (i.e.,\n\"TARGET_KERNEL_SOURCE := kernel/shared-whatever\")\n\nIf the device requires out-of-kernel-tree modules to be built,\nthe TARGET_KERNEL_MODULES variable can be used, pointing to a\n_make target_ that will build and install such modules. Definition\nof such a target is the device author's responsibility, the only\nrestriction is that it is a normal makefile recipe (example\nbelow)\n\nOptionally (or as an alternative), a prebuilt binary can also be\ndefined at BoardConfig, by usage of the TARGET_PREBUILT_KERNEL\nvariable. This binary will be used if the kernel source is absent\n(or undefined).\n\nA minimal BoardConfig.mk should look something like this:\n\nTARGET_KERNEL_CONFIG := cyanogenmod_<device>_defconfig\nTARGET_PREBUILT_KERNEL := device/<vendor>/<device>/kernel\n\nTo include, for example, the TI WLAN modules, this can be used:\n\n-----------------------------\nTIWLAN_MODULES:\n       make -C hardware/ti/wlan/wl1283/platforms/os/linux/ KERNEL_DIR=$(KERNEL_OUT) ARCH=\"arm\" CROSS_COMPILE=\"arm-eabi-\" TNETW=1273 RANDOM_MAC=n REPORT_LOG=n\n       mv hardware/ti/wlan/wl1283/platforms/os/linux/tiwlan_drv.ko $(KERNEL_MODULES_OUT)\n       make -C hardware/ti/wlan/wl1283_softAP/platforms/os/linux/ KERNEL_DIR=$(KERNEL_OUT) ARCH=\"arm\" CROSS_COMPILE=\"arm-eabi-\" TNETW=1273 REPORT_LOG=n\n       mv hardware/ti/wlan/wl1283_softAP/platforms/os/linux/tiap_drv.ko $(KERNEL_MODULES_OUT)\n\nTARGET_KERNEL_MODULES := TIWLAN_MODULES\n---------------------------\n\nChange-Id: I8634fa4c788a42dc6f62e62ca170825b66db126a\n\nbuild: Fix kernel module building on Darwin/OSX\n\nDarwin/OSX build host does not have module-init-tools which is\nrequired to generated modules.dep file. Switch to modules.order\nfile marker which is always generated instead.\n\nChange-Id: I20c0fccd905fa668202c3e7284a8778db3728a65\n\nkernel: Change path to kernel/<vendor>/<device>\n\nDerive the kernel path from the device's own path (just replace \"device\"\nwith \"kernel\")\n\nChange-Id: Idd44a0489e1ce280adf5ec4d9cfe2385c75dd115\n\nkernel: Improve support for non-arm architectures\n\nRemove hardwired references to the ARM arch and toolchains, and replace\nthem with the respective android build variables\n\nChange-Id: Iae3eb548ca1d58ac808b5fa430d415283a809106\n\nkernel: Fix ARM building\n\nThe default android ARM compiler, arm-androideabi-, does NOT work\nfor the Linux kernel. Special-case the ARM architecture to target\nthe ARM_EABI_TOOLCHAIN path directly\n\nChange-Id: Ib672c99f114cb89d5fda3343d4dc68810d042d35\n\nkernel: allow TARGET_KERNEL_MODULES to overwrite kernel modules\n\nThis is necessary to use compat-wireless since it needs to build a newer\nversion of cfg80211 (and sometimes mac80211) than the kernel sources version.\nThere are probably other instances of this type of need.\n\nChange-Id: Ib5bf818286bc20987d8b9f9480a43f3e7690e239\n\nkernel.mk: make use of ccache when requested\n\nChange-Id: I9b6e28711bd5f590a76ac2b62a50b1d2de014e3e\n\nkernel: Fix ccache inclusion logic\n\nBuilds were broken when CCACHE was missing from the environment\nChange-Id: Ie8d6048f4600f1dc9c298593a50e37af04b96438\n\nbuild: show accurate information on inline kernel warnings/errors\n\nHaving the variables on AndroidBoard as suggested causes errors\nwith mm/mmm, whereas having them on BoardConfig doesn't. Adjust\nthe warnings to reflect this.\n\nChange-Id: I554c1f1073df678d36521f73bc236a1f4b02212e\n\nThis is causing generic_armv5-userdebug builds to fail. Commenting out for now to fix recovery build servers. Will fix properly later.\n\nChange-Id: Ibe1cda8cd2b4c1914dfa3b8a29724c9069e047a6\n\nkernel.mk: Also search PRODUCT_COPY_FILES for the kernel copy, as that is how AOSP does it now.\n\nChange-Id: Id2d1cf079694d1996d4a85d8435c2e4562e5d444\n\nkernel.mk: fix compiled kernel copy\n\nChange-Id: Ifb2a3d4968e56eed236eaa2db9258cd0b8865fda\n\nkernel.mk: workaround to fix kernel builds on darwin until the prebuilts/gcc is checked in by upstream.\n\nChange-Id: I6321fb7f6814b207c821d974766d945351b3f546\n\nbuild: fix ccache usage when building kernels\n\nChange-Id: Id4edd4d85d9ba3ef42575f5fdebf22ed14957a99\n\nkernel.mk: set KERNEL_OUT properly\n\nIt was hardcoded to $(ANDROID_BUILD_TOP)/$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ\nwhich wouldn't exist if OUT_DIR_COMMON_BASE was set to use another dir\n(e.g. ramdisk)\n\nFix it so that it now points to $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ\nif OUT_DIR is not out\n\nChange-Id: I1bf767d86548e41270d9cbb8f0c00512708501c5\n\nbuild: add support for uncompressed kernels\n\nbuild: kernel: remove hard coded darwin toolchain.\n\n* Use latest kernel toolchain from $(ARM_EABI_TOOLCHAIN) variable.\n\nChange-Id: I3b43408937dd5f193fcba19c034f868272de8963\n\nenvsetup: set OUT_DIR to an absolute path always\n\nOUT_DIR was set to $(TOPDIR)out previously,\nbut $(TOPDIR) was null, so it was a relative path.\nThis broke releasetools, inline kernel building, etc\nsince they require absolute paths.\nFix it so that it is set to $(shell readlink -f .)/out\nif $(TOPDIR) is null.\n\nAlso remove hacks which checked if (OUT_DIR) was out\nand changed it to $(ANDROID_BUILD_TOP)/out to workaround\nthe aforementioned problem.\n\nChange-Id: I459a3b1325a1bbea0565cd73f6acf160d4ed9b39\n\nbuild: add strip on kernel modules\n\nkernel modules are huge for prima wlan and we need to strip them\nunstriped size 40mb\nstriped size 2mb\n\nChange-Id: Iefd572732cad0a6f608439618673068a3586fcd5\n\nkernel: Ignore errors with module building\n\nLet kernel fully disable loadable modules\n\nChange-Id: Ia37ec927b092c041ee4c68bf9fd0f28b7339c8ca\n\nbuild: Add support for extra kernel build variables\n\n * This allows specifying a variant defconfig, and an selinux defconfig\n   which are simply configuration fragments.\n\nChange-Id: I97882ae3b8c2e16ff6a7dce8dd3a70d70f8aa866\n\ns/cyanogenmod.com/cyanogenmod.org/\n\n* And fixup a wiki link while I'm at it.\n\nChange-Id: I0355b9a47eac1becc07e81659fbb2d11b14ece36\n\nFixes for Xcode 5 and OSX 10.9.\nkernel.mk: Put elf.h into the include path on Darwin builds.\n\nChange-Id: I7069b956965d27caac3b2e4c3cc2e8b4c1da7a82\n\nMake the kernel image format parametric instead of a chain of if/elses\n\nChange-Id: I54bfcdecb8647f7bcf744e72b2de19fcf4e4e7ac\n\nbuild: Add \"dtbs\" target when building the kernel\n\n * This is needed for 3.10\n\nChange-Id: I4044ea9e67017452efc25097a3327141a6627c24","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/bcfa4927313ab60826a5a7f93f7bf69dd8e3f03c"},{"sha":"d325f97cc753f27317ad873d2aeed6d3a17ecc7a","author":{"name":"Chirayu Desai","email":"6bdcb6030cbded67d5853f7e2be0198b53924880@gmail.com"},"message":"Allow specifying kernel toolchain and prefix\n\nChange-Id: Ib75cfe772e073f2196455f3e3dfba247f6b3feff","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/d325f97cc753f27317ad873d2aeed6d3a17ecc7a"},{"sha":"a27fd82f6d1e5610880fc5ef569dc74875fd423e","author":{"name":"Steve Kondik","email":"5eb4f8ae09d1b5661f1add989b1c3fabe443bd83@cyngn.com"},"message":"core: More flexible kernel configuration\n\n * Allow various combinations of kernel vs. userspace architectures\n * Get rid of various assumptions about everything being ARM or 32-bit\n * This adds the following target flags:\n     TARGET_KERNEL_ARCH\n     TARGET_KERNEL_HEADER_ARCH\n     KERNEL_HEADER_DEFCONFIG\n     TARGET_KERNEL_CROSS_COMPILE_PREFIX\n\nChange-Id: If0bc202abd35c216ba3ea5707ffdb602526d8ed3","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/a27fd82f6d1e5610880fc5ef569dc74875fd423e"},{"sha":"4a2287bf6e8e943d3873b109c8b837a20c0477f6","author":{"name":"dhacker29","email":"4a698cb8e6769ff2ee6bf67d22aa7fe20ebe42ed@gmail.com"},"message":"Fix kernel.mk if SELINUX or VARIANT_DEFCONFIG is defined\n\nKERNEL_HEADER_DEFCONFIG was ignoring SELINUX_DEFCONFIG thus breaking\nall selinux support\n\nChange-Id: Idc3367d6b4b85343078e63e87dca6d6d052e7f53","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/4a2287bf6e8e943d3873b109c8b837a20c0477f6"},{"sha":"aabe7dc5ed3b397c97b57dce6c55010d5ef4a4b8","author":{"name":"Ricardo Cerqueira","email":"34457414409610f883f9c0479e4e2d279d0d1d82@cyngn.com"},"message":"build: kernel: Fix stray \"@\"\n\nNested \"$(hide)\"s (makefile @) don't work. There was one at the\nbeginning of the script, remove the inner one to prevent it from\nbeing interpreted as a shell command\n\nChange-Id: I08a829ee56b212366a0f5a3812f7a614667a9c2b","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/aabe7dc5ed3b397c97b57dce6c55010d5ef4a4b8"},{"sha":"e42838339976d7cb19d993e0c55e94f91da0d9fb","author":{"name":"Steve Kondik","email":"5eb4f8ae09d1b5661f1add989b1c3fabe443bd83@cyngn.com"},"message":"build: Add support for additional kernel config snippet\n\n * Add support for TARGET_KERNEL_ADDITIONAL_CONFIG which will append a\n   config snippet from arch/$ARCH/configs/ to the main defconfig.\n * This can be used for various things, such as including DIAG support\n   into debuggable builds.\n\nChange-Id: Ifa48688a3f951dd8ecc9a13a27de3a476e7bf633","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/e42838339976d7cb19d993e0c55e94f91da0d9fb"},{"sha":"63dd6db8a0df9a066cba1b84254bde4810908d56","author":{"name":"Michael Bestas","email":"a32d6732e1ff290ee23b7d26251988526f4975e9@gmail.com"},"message":"kernel: Fix kernelconfig build\n\n* Copy the generated defconfig to the correct directory\n\nChange-Id: Ia8e259946d67501675dd5a3433165d54df6c13c5","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/63dd6db8a0df9a066cba1b84254bde4810908d56"},{"sha":"f4f3d5cd3dd113382f0743878515daac7730981f","author":{"name":"Scott Mertz","email":"ddf64ea5989e94a2f54e4e755560f084d9f8c1bd@cyngn.com"},"message":"build: kernel: arm64 uses Image.gz as the target\n\nChange-Id: Icc194d2a16f9ffcf5803226fc1f2a5b091b4d861","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/f4f3d5cd3dd113382f0743878515daac7730981f"},{"sha":"bc9eb4cc5d8b420c48021c60fbedf8ebd1394282","author":{"name":"Brandon McAnsh","email":"01072946037802e0dfab0c53ec109902e78a9942@gmail.com"},"message":"kernel: Fix libelf location on nougat\n\nChange-Id: I34199aba9f6ec38d918c082def3298a3fa5c60f5\nSigned-off-by: Brandon McAnsh <brandon.mcansh@gmail.com>","distinct":true,"url":"https://api.github.com/repos/SAOSP-N/platform_build/commits/bc9eb4cc5d8b420c48021c60fbedf8ebd1394282"}]}
{"actor":{"display_login":"snak3ater"}}