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

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