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

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

Open
rsglobal wants to merge 1 commit into
mripard:masterfrom
rsglobal:embed-pr
Open

build.sh: add optional embedding into the kernel#64
rsglobal wants to merge 1 commit into
mripard:masterfrom
rsglobal:embed-pr

Conversation

@rsglobal

@rsglobal rsglobal commented Jan 29, 2019

Copy link
Copy Markdown
Contributor

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 <roman.stratiienko@globallogic.com>
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