mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
build: custom build directory with symlink technique
This commit is contained in:
11
README.adoc
11
README.adoc
@@ -20403,6 +20403,17 @@ Verify with:
|
|||||||
ls "$(./getvar buildroot_build_build_dir)"
|
ls "$(./getvar buildroot_build_build_dir)"
|
||||||
....
|
....
|
||||||
|
|
||||||
|
=== Custom build directory
|
||||||
|
|
||||||
|
For now there is no way to change the build directory from `out/` (resp. `out.docker` for <<docker>.) to something else.
|
||||||
|
|
||||||
|
However, if you just want to place the build storage in your hard drive and the source in your SSD, which is a good configuration if you are doing lots of builds, just create a symlink as:
|
||||||
|
|
||||||
|
....
|
||||||
|
mkdir -p /mnt/hd/linux-kernel-module-cheat-out
|
||||||
|
ln -s out /mnt/hd/linux-kernel-module-cheat-out
|
||||||
|
....
|
||||||
|
|
||||||
=== ccache
|
=== ccache
|
||||||
|
|
||||||
https://en.wikipedia.org/wiki/Ccache[ccache] <<benchmark-builds,might>> save you a lot of re-build when you decide to <<clean-the-build>> or create a new <<build-variants,build variant>>.
|
https://en.wikipedia.org/wiki/Ccache[ccache] <<benchmark-builds,might>> save you a lot of re-build when you decide to <<clean-the-build>> or create a new <<build-variants,build variant>>.
|
||||||
|
|||||||
Reference in New Issue
Block a user