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

Conversation

rsglobal
Copy link
Contributor

@rsglobal rsglobal commented Jan 29, 2019

This allows adding mali into the kernel and compile it as built-in driver

embedding example:
$ export KDIR=
$ build.sh -r r8p1 -e

building example:
$ cd
$ 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

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]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant