-
CMake-based build system for Android native executables (VSCode friendly)
These scripts work fine with the VSCode “CMake Tools” extension. CMake setup script (to be included in the top-most CMakeLists.txt): CMakePresets.json with the toolkit configuration (uses Ninja generator, but can be easily adapted to other generators). Requires an environment variable NDKROOT pointing to the root of the NDK instalation: Example of use:Advertisement
-
Debugging a guest Ubuntu 20.04 VM kernel from a host Ubuntu 20.04
Prerequisites A machine running Ubuntu 20.04 virtualbox A guest machine running Ubuntu 20.04 Troubleshooting By default VirtualBox doenst allow the guest machine OS to create symlinks on shared folders. To change that, run the following command on your host machine: VBoxManage setextradata VM_NAME VBoxInternal2/SharedFoldersEnableSymlinksCreate/SHARE_NAME 1
-
Building mesa on Ubuntu 20.04
Requisites Ubuntu 20.04 Git meson mako (python3 package – sudo pip3 install mako) libdrm-dev libdrm-intel1 llvm libwayland-dev wayland-protocols wayland-scanner++ libwayland-egl-backend-dev libxfixes-dev libxcb-glx0-dev libxcb-shm0-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-dri3-dev libxcb-present-dev libxshmfence-dev libxxf86vm-dev libxrandr-dev Step-by-step Clone the mesa repo (branch 21.1)git clone -b 21.1 https://github.com/mesa3d/mesa.git Setup the build systemmkdir build && cd build && meson .. Installsudo ninja install
-
Building the Linus Linux kernel on Ubuntu 20.04
Requisites Ubuntu 20.04 Git Qt5 (for make xconfig – sudo apt install qt5-default) kernel-package (for make-kpkg) If using the minimal installation: gcc make flex bison libssl-dev dwarves libelf-dev Generally, any other tools specified in Documentation/Changes in their minimal version (e.g., https://github.com/torvalds/linux/blob/master/Documentation/process/changes.rst) Step-by-Step Clone the kernel repo (Im using version 5.15)git clone -b v5.15 git@github.com:torvalds/linux.git “linux-kernel-5.15″…