Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

build.sh: add optional embedding into the kernel #64

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Feb 4, 2019

  1. build.sh: add optional embedding into the kernel

    This allows adding mali into the kernel and compile it as built-in driver
    
    embedding example:
    $ export KDIR=<your-kernel-dir>
    $ build.sh -r r8p1 -e
    
    building example:
    $ cd <your-kernel-dir>
    $ export ARCH=arm32
    $ export CROSS_COMPILE=arm-linux-gnueabihf-
    $ make sunxi_defconfig
    $ ./scripts/config -e MALI400
    
    Profiling support wasn't ported correctly and doesn't support the latest kernel,
    and it should be disabled to get success build
    
    $ ./scripts/config -d MALI400_PROFILING
    $ make olddefconfig
    $ make
    
    Signed-off-by: Roman Stratiienko <[email protected]>
    Roman Stratiienko committed Feb 4, 2019
    Configuration menu
    Copy the full SHA
    e4aa2b7 View commit details
    Browse the repository at this point in the history