summaryrefslogtreecommitdiffstats
path: root/examples/recipes/linux-uapi-headers.yml
blob: fdd9a8e98d0b65f0003d858355e03324e5df1490 (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: '5.10.66'
tasks:
  unpack:
    fetch:
      - name: '{{pn}}-{{pv}}.tar.xz'
        sha256: '5dfa06bbbbd164b9ea669ec637b1e6d05fb5fea8ef3aeb6729f2cbcd0dfcc8a7'
    run: |
      tar xf {{dldir}}/{{pn}}-{{pv}}.tar.xz

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