# git rev-parse -q --verify bf3a52637d300db4d375c55c5d2f3868d7c3f243^{commit} bf3a52637d300db4d375c55c5d2f3868d7c3f243 already have revision, skipping fetch # git checkout -q -f -B kisskb bf3a52637d300db4d375c55c5d2f3868d7c3f243 # git clean -qxdf # < git log -1 # commit bf3a52637d300db4d375c55c5d2f3868d7c3f243 # Author: Masahiro Yamada # Date: Wed Feb 15 10:20:33 2023 +0900 # # kbuild: deb-pkg: improve the usability of source package # # Improve the source package support in case the dpkg-buildpackage is # directly used to build binary packages. # # For cross-compiling, you can set CROSS_COMPILE via the environment # variable, but it is better to set it automatically - set it to # ${DEB_HOST_GNU_TYPE}- if we are cross-compiling but not from the top # Makefile. # # The generated source package may be carried to a different build # environment, which may have a different compiler installed. # Run olddefconfig first to set new CONFIG options to their default # values without prompting. # # Take KERNELRELEASE and KBUILD_BUILD_VERSION from the version field of # debian/changelog in case it is updated afterwards. # # Signed-off-by: Masahiro Yamada # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 bf3a52637d300db4d375c55c5d2f3868d7c3f243 # < make -s -j 160 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- x86_64_defconfig # < make -s -j 160 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 160 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig # make -s -j 160 ARCH=x86 O=/kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.3.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/kbuild_x86_64_defconfig_x86_64-gcc11 # Build took: 0:03:07.054329