blob: 3e2c7cb75236552f35e221249abbdf5c52708a75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
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
|