diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2019-07-14 08:18:01 +0200 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2019-07-14 13:58:12 +0200 |
commit | a13fb7217b13511fabfe871a9fa2b701896b8d2f (patch) | |
tree | 659640793c1362610157b1a964ff78f994a880f0 /genkernel.conf | |
parent | genkernel.conf: Adjust punctuation (diff) | |
download | genkernel-a13fb7217b13511fabfe871a9fa2b701896b8d2f.tar.gz genkernel-a13fb7217b13511fabfe871a9fa2b701896b8d2f.tar.bz2 genkernel-a13fb7217b13511fabfe871a9fa2b701896b8d2f.zip |
Rework cross-compile support
- Add new "--cross-compile" parameter which will accept a target triplet
and replaces "--arch-override", "--utils-arch", "--utils-cross-compile"
and "--kernel-cross-compile" parameter.
- Add "--utils-cflags" to allow user to overwrite CFLAGS used for
compiling programs for initramfs.
- Add tc-* functions.
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'genkernel.conf')
-rw-r--r-- | genkernel.conf | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/genkernel.conf b/genkernel.conf index 430bb70..e595e4a 100644 --- a/genkernel.conf +++ b/genkernel.conf @@ -201,12 +201,9 @@ NOCOLOR="false" # option. #UTILS_LD="ld" -# Common prefix of cros compile commands -#UTILS_CROSS_COMPILE="x86_64-pc-linux-gnu" - -# Value of CROSS_COMPILE utils variable -# during kernel compilation -#KERNEL_CROSS_COMPILE="x86_64-pc-linux-gnu" +# Target triple (i.e. aarch64-linux-gnu) to build for. If you do not +# cross-compile, leave blank for auto detection. +#CROSS_COMPILE="" # Override default make target (bzImage). See also the --kernel-target # command line option. Useful to build a uImage on arm. |