summaryrefslogtreecommitdiff
path: root/elements/ivi/bsp-x86_64-ivi/linux-x86-64-ivi.bst
blob: 3b7ba268e0463eb2ba478a8ada269587ed681213 (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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
kind: manual
depends:
- bsp-x86_both-tools.bst
sources:
- kind: git
  url: upstream:linux
  track: v4.12
  ref: 6f7da290413ba713f0cdd9ff1a2a9bb129ef4f6c
config:
  configure-commands:
  - make defconfig
  - scripts/config -e ATA
  - scripts/config -e ATA_PIIX
  - scripts/config -e AUTOFS4_FS
  - scripts/config -e BLK_DEV_BSG
  - scripts/config -e BLK_DEV_SD
  - scripts/config -e BTRFS_FS
  - scripts/config -e BTRFS_FS_POSIX_ACL
  - scripts/config -e CFS_BANDWIDTH
  - scripts/config -e CGROUPS
  - scripts/config -e CGROUP_SCHED
  - scripts/config -e CHECKPOINT_RESTORE
  - scripts/config -e DEVPTS_MULTIPLE_INSTANCES
  - scripts/config -e DEVTMPFS
  - scripts/config -e DMIID
  - scripts/config -e EFIVAR_FS
  - scripts/config -e EFI_PARTITION
  - scripts/config -e EPOLL
  - scripts/config -e FAIR_GROUP_SCHED
  - scripts/config -e FHANDLE
  - scripts/config -d FW_LOADER_USER_HELPER
  - scripts/config -e INOTIFY_USER
  - scripts/config -e IPV6
  - scripts/config -e NET
  - scripts/config -e NET_NS
  - scripts/config -e PROC_FS
  - scripts/config -e SATA_AHCI
  - scripts/config -e SCSI
  - scripts/config -e SCSI_MOD
  - scripts/config -e SECCOMP
  - scripts/config -e SIGNALFD
  - scripts/config -e SYSFS
  - scripts/config -d SYSFS_DEPRECATED
  - scripts/config -e TIMERFD
  - scripts/config -e TMPFS_POSIX_ACL
  - scripts/config -e TMPFS_XATTR
  - scripts/config -e UEVENT_HELPER_PATH=""
  - scripts/config -m CONFIG_DRM_CIRRUS_QEMU
  - scripts/config -m CONFIG_DRM_BOCHS
  - scripts/config -m CONFIG_DRM_VIRTIO_GPU
  - scripts/config -m CONFIG_BT_INTEL
  - scripts/config -m CONFIG_MOSTCORE
  - 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