mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-22 17:55:57 +01:00
Unsquashed version at v2-rc-unsquashed, but that cannot be merged as it breaks bisects at several points. All bugs will not bisect to this humongous change. It all started with a conversion of the Bash scripts to Python, mainly because I couldn't stand not being able to properly use --options for run which has a million options. Then since that required a full testing, I decided to do all the refactorings that I had in mind at once, and so I did and it became v2-rc. This is the largest patch I have ever done! OMG a few weeks of extra time. I'm never writing a Bash script for anything that starts getting big again. Some of the features are: * separate build-qemu and build-gem5 commands * common: convert scripts to python. Add --option for everything * rename build to build-buildroot now that we are splitting all the build commands, Linux kernel to follow * move all git submodules to submodules/ and all buildroot packages to packages/ * refactor the out/ structure. Keep projects on toplevel, because guest projects separate archs and host ones don't, making a toplevel arch wrong * do-release: rename to just release https://stackoverflow.com/questions/16174992/cant-get-argparse-to-read-quoted-string-with-dashes-in-it * run: add --terminal and explain gem5 pdb * just track the lvimrc * store CLI kernel config fragment inside buildlroot to avoid conflicts * gem5: document m5 initparam * readme: make a bunch of things awesomer * readme: fix broken refs * parsec-benchmark: update to 75d55ac446a43c47efb1044844a108c6c330184c Could not fetch otherwise. * gem5: M5_OVERRIDE_PY_SOURCE
66 lines
1.4 KiB
Plaintext
66 lines
1.4 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
|
|
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
|
|
|
|
# Rootfs
|
|
BR2_TARGET_ROOTFS_CPIO=n
|
|
BR2_TARGET_ROOTFS_EXT2=y
|
|
BR2_TARGET_ROOTFS_INITRAMFS=n
|
|
BR2_TARGET_ROOTFS_EXT2_SIZE="512M"
|
|
|
|
# Host GDB
|
|
BR2_GDB_VERSION="7.11.1"
|
|
BR2_GDB_VERSION_7_10=n
|
|
BR2_GDB_VERSION_7_11=y
|
|
BR2_GDB_VERSION_7_12=n
|
|
BR2_PACKAGE_HOST_GDB=y
|
|
BR2_PACKAGE_HOST_GDB_PYTHON=y
|
|
BR2_PACKAGE_HOST_GDB_SIM=y
|
|
BR2_PACKAGE_HOST_GDB_TUI=y
|
|
|
|
# Custom packages
|
|
# Keepding those in because we control them fully
|
|
# and know for sure that are small.
|
|
BR2_PACKAGE_KERNEL_MODULES=y
|
|
BR2_SAMPLE_PACKAGE=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
|
|
|
|
# misc packages
|
|
BR2_PACKAGE_DHRYSTONE=y
|
|
BR2_PACKAGE_FILE=y
|
|
BR2_PACKAGE_PCIUTILS=y
|
|
BR2_PACKAGE_STRACE=y
|
|
|
|
# lscpu: TODO not installing?
|
|
BR2_PACKAGE_UTIL_LINUX=y
|
|
BR2_PACKAGE_UTIL_LINUX_BINARIES=y
|
|
# taskset
|
|
BR2_PACKAGE_UTIL_LINUX_SCHEDUTILS=y
|
|
|
|
# gdbserver
|
|
BR2_PACKAGE_GDB=y
|
|
|
|
# ftrace
|
|
BR2_PACKAGE_TRACE_CMD=y
|
|
|
|
# DTC
|
|
BR2_PACKAGE_DTC=y
|
|
BR2_PACKAGE_DTC_PROGRAMS=y
|
|
BR2_PACKAGE_HOST_DTC=y
|