summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux-uapi-headers/build.yml
blob: 3fadccded7ce92abeef283faa24f6c17de88e65f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
meta:
  name: 'linux'
  version: '6.5.5'
tasks:
  unpack:
    fetch:
      - name: '{{basename}}-{{version}}.tar.xz'
        sha256: '8cf10379f7df8ea731e09bff3d0827414e4b643dd41dc99d0af339669646ef95'
    run: |
      tar xf {{dldir}}/{{basename}}-{{version}}.tar.xz

  install:
    args:
      host: 'platform'
    inherit:
      task: 'unpack'
    output:
      default: {}
    run: |
      cd {{basename}}-{{version}}
      make INSTALL_HDR_PATH={{destdir}}{{host.prefix}} ARCH={{host.karch}} headers_install