Home / 13.11.3Q2.X-69-3-8
Name Modified Size InfoDownloads / Week
Parent folder
motorola_external_f2fs-tools.tar.gz 2014-01-20 23.5 kB
vendor-qcom-opensource-wlan-prima.tgz 2013-12-17 3.0 MB
system-core.tgz 2013-12-17 1.2 MB
README.txt 2013-12-17 2.2 kB
motorola-security-moto_crypto.tgz 2013-12-17 3.7 MB
kernel.tgz 2013-12-17 116.5 MB
motorola-external-wbxmlparser.tgz 2013-12-17 72.3 kB
external-libnl-headers.tgz 2013-12-17 37.3 kB
external-libcap-ng.tgz 2013-12-17 397.8 kB
external-jdiff.tgz 2013-12-17 1.2 MB
external-iptables.tgz 2013-12-17 339.6 kB
external-iproute2.tgz 2013-12-17 557.7 kB
external-hyphenation.tgz 2013-12-17 87.6 kB
external-gcc-demangle.tgz 2013-12-17 56.0 kB
external-dnsmasq.tgz 2013-12-17 435.3 kB
build.tgz 2013-12-17 4.4 MB
external-compiler-rt.tgz 2013-12-17 1.7 MB
external-clang.tgz 2013-12-17 10.0 MB
external-chromium_org.tgz 2013-12-17 257.1 MB
bionic.tgz 2013-12-17 1.9 MB
Totals: 20 Items   402.8 MB 0
This document explains the method used by OSRB to reproduce "standalone build" of copyleft components, such as Linux kernel and user space copyleft executables

1. Create a workspace containing "vanilla" KitKat release from Google. You may need to apply the following change in build repo to prevent the build from aborting when unexpected user tag is found on some modules:

    diff --git a/core/base_rules.mk b/core/base_rules.mk
    index 3c11673..ecf611d 100644
    --- a/core/base_rules.mk
    +++ b/core/base_rules.mk
    @@ -99,7 +99,7 @@ ifneq ($(filter $(LOCAL_MODULE_TAGS),user),)
         $(warning * PRODUCT_PACKAGES section of)
         $(warning * build/target/product/core.mk)
         $(warning * )
    -    $(error user tag detected on new module - user tags are only supported on legacy modules)
    +    $(warning user tag detected on new module - user tags are only supported on legacy modules)
       endif
     endif

2. Replace the Android repos corresponding to the Motorola-provided published repos.

3. Build user space components:

   cd <workspace>
   . build/envsetup.sh
   lunch generic-user
   make TARGET_BOARD_PLATFORM=msm8960 <target>

   Where is something like out/target/product/generic/system/bin/iptables

4. Building kernel and kernel modules:

   my_top_dir=$PWD
   mkdir -p $PWD/out/target/product/generic/obj/kernel
   cross=$my_top_dir/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.6/bin/arm-linux-androideabi-
   kernel_out_dir=$PWD/out/target/product/generic/obj/kernel

   cat kernel/arch/arm/configs/msm8960_defconfig > $kernel_out_dir/mapphone_defconfig
   cp $kernel_out_dir/mapphone_defconfig $kernel_out_dir/.config
   make  -C kernel ARCH=arm  CROSS_COMPILE=$cross  O=$kernel_out_dir defoldconfig
   make  -C kernel ARCH=arm  CROSS_COMPILE=$cross  O=$kernel_out_dir headers_install
   make  -C kernel ARCH=arm  CROSS_COMPILE=$cross  O=$kernel_out_dir
   make  -C kernel ARCH=arm  CROSS_COMPILE=$cross  O=$kernel_out_dir dtbs
   make  -C kernel ARCH=arm  CROSS_COMPILE=$cross  O=$kernel_out_dir modules
   make  -C kernel ARCH=arm  CROSS_COMPILE=$cross  O=$kernel_out_dir INSTALL_MOD_PATH=$PWD/out/target/product/generic modules_install

Source: README.txt, updated 2013-12-17