mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
19 lines
472 B
Plaintext
19 lines
472 B
Plaintext
# ./ct-ng arm-unknown-eabi
|
|
CT_ARCH_ARM=y
|
|
CT_ARCH_FLOAT_SW=y
|
|
CT_LIBC_NEWLIB_IO_C99FMT=y
|
|
CT_LIBC_NEWLIB_IO_LL=y
|
|
CT_LIBC_NEWLIB_IO_FLOAT=y
|
|
CT_LIBC_NEWLIB_DISABLE_SUPPLIED_SYSCALLS=y
|
|
CT_CC_LANG_CXX=y
|
|
|
|
# Modifications.
|
|
CT_DEBUG_GDB=y
|
|
CT_GDB_CROSS_SIM=y
|
|
|
|
# For Docker.
|
|
# https://stackoverflow.com/questions/17466017/how-to-solve-you-must-not-be-root-to-run-crosstool-ng-when-using-ct-ng/53099177#53099177
|
|
CT_EXPERIMENTAL=y
|
|
CT_ALLOW_BUILD_AS_ROOT=y
|
|
CT_ALLOW_BUILD_AS_ROOT_SURE=y
|