mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-13 20:12:26 +00:00
44 lines
1.1 KiB
Plaintext
44 lines
1.1 KiB
Plaintext
# Toolchain options.
|
|
# Enable as much visibility as possible.
|
|
BR2_CCACHE=y
|
|
BR2_CCACHE_USE_BASEDIR=n
|
|
BR2_DEBUG_3=y
|
|
BR2_ENABLE_DEBUG=y
|
|
BR2_GCC_ENABLE_GRAPHITE=y
|
|
BR2_GCC_ENABLE_LTO=y
|
|
BR2_GCC_ENABLE_OPENMP=y
|
|
BR2_OPTIMIZE_0=y
|
|
BR2_PTHREAD_DEBUG=y
|
|
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
|
BR2_TOOLCHAIN_BUILDROOT_FORTRAN=y
|
|
# http://github.com/cirosantilli/linux-kernel-module-cheat#libc-choice
|
|
BR2_TOOLCHAIN_BUILDROOT_GLIBC=y
|
|
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
|
|
|
|
# Rootfs
|
|
BR2_TARGET_ROOTFS_CPIO=n
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_EXT2_SIZE="512M"
|
|
BR2_TARGET_ROOTFS_SQUASHFS=n
|
|
BR2_TARGET_ROOTFS_INITRAMFS=n
|
|
# TODO can you boot with those as root filesystem?
|
|
BR2_TARGET_ROOTFS_TAR=n
|
|
|
|
# Host GDB
|
|
BR2_PACKAGE_HOST_GDB=y
|
|
BR2_PACKAGE_HOST_GDB_PYTHON=y
|
|
BR2_PACKAGE_HOST_GDB_SIM=y
|
|
BR2_PACKAGE_HOST_GDB_TUI=y
|
|
|
|
# Host debug tools.
|
|
BR2_PACKAGE_STRACE=y
|
|
|
|
# DTC.
|
|
BR2_PACKAGE_HOST_DTC=y
|
|
|
|
# We were tempted to do this to disable S40network neatly,
|
|
# but that package also creates extra configuration files
|
|
# such as /etc/network/interfaces which we need. So we just
|
|
# remove the init.d file for now.
|
|
#BR2_PACKAGE_IFUPDOWN_SCRIPTS=n
|