mirror of
https://github.com/cirosantilli/linux-kernel-module-cheat.git
synced 2026-01-23 02:05:57 +01:00
lkmc v2-rc
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
This commit is contained in:
65
buildroot_config/default
Normal file
65
buildroot_config/default
Normal file
@@ -0,0 +1,65 @@
|
||||
# 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
|
||||
2
buildroot_config/gpio
Normal file
2
buildroot_config/gpio
Normal file
@@ -0,0 +1,2 @@
|
||||
BR2_PACKAGE_LINUX_TOOLS=y
|
||||
BR2_PACKAGE_LINUX_TOOLS_GPIO=y
|
||||
10
buildroot_config/kmscube
Normal file
10
buildroot_config/kmscube
Normal file
@@ -0,0 +1,10 @@
|
||||
BR2_PACKAGE_KMSCUBE=y
|
||||
BR2_PACKAGE_MESA3D=y
|
||||
BR2_PACKAGE_MESA3D_OPENGL_EGL=y
|
||||
BR2_PACKAGE_MESA3D_OPENGL_ES=y
|
||||
|
||||
# Software rasteriser.
|
||||
# Selects the following chain:
|
||||
# BR2_PACKAGE_MESA3D_DRIVER=y
|
||||
# BR2_PACKAGE_MESA3D_DRI_DRIVER=y
|
||||
BR2_PACKAGE_MESA3D_DRI_DRIVER_SWRAST=y
|
||||
15
buildroot_config/x11
Normal file
15
buildroot_config/x11
Normal file
@@ -0,0 +1,15 @@
|
||||
BR2_PACKAGE_XAPP_TWM=y
|
||||
BR2_PACKAGE_XAPP_XCALC=y
|
||||
BR2_PACKAGE_XAPP_XCLOCK=y
|
||||
BR2_PACKAGE_XAPP_XEYES=y
|
||||
BR2_PACKAGE_XAPP_XINIT=y
|
||||
BR2_PACKAGE_XDRIVER_XF86_INPUT_KEYBOARD=y
|
||||
BR2_PACKAGE_XDRIVER_XF86_INPUT_MOUSE=y
|
||||
BR2_PACKAGE_XDRIVER_XF86_VIDEO_CIRRUS=y
|
||||
BR2_PACKAGE_XDRIVER_XF86_VIDEO_FBDEV=y
|
||||
BR2_PACKAGE_XDRIVER_XF86_VIDEO_VESA=y
|
||||
BR2_PACKAGE_XORG7=y
|
||||
BR2_PACKAGE_XSERVER_XORG_SERVER=y
|
||||
BR2_PACKAGE_XTERM=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_CXX=y
|
||||
BR2_TOOLCHAIN_BUILDROOT_WCHAR=y
|
||||
Reference in New Issue
Block a user