kind: manual depends: - filename: gnu-toolchain.bst type: build - filename: core/bash.bst type: build - filename: core/perl.bst type: build - filename: core/bc.bst type: build sources: - kind: git url: upstream:linux track: v4.12 ref: 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c config: configure-commands: - make defconfig - yes '' | make oldconfig build-commands: - make $MAKEFLAGS install-commands: - mkdir -p "%{install-root}"/boot - make INSTALL_PATH="%{install-root}"/boot install - make INSTALL_MOD_PATH="%{install-root}" modules_install - install -d "%{install-root}%{prefix}/src/linux" - | ( printf 'Makefile\0' printf 'Module.symvers\0' find arch/x86 -maxdepth 1 -name 'Makefile*' -print0 find arch/x86 \( -name 'module.lds' -o -name 'Kbuild.platforms' -o -name 'Platform' \) -print0 find arch/x86 \( -type d -a \( -name include -o -name scripts \) \) -o \ \! -type d -a \( -path '*include/*' -o -path '*scripts/*' \) -print0 find include -name 'asm*' -prune -o -print0 find include/asm-generic -print0 find include/uapi -print0 find scripts -print0 ) | cpio -0pumd "%{install-root}%{prefix}/src/linux" public: bst: integration-commands: - if which depmod; then (cd /usr/lib/modules && for version in *; do depmod -a "$version"; done) fi