summaryrefslogtreecommitdiffstats
path: root/examples/linux-uapi-headers.yml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/linux-uapi-headers.yml')
-rw-r--r--examples/linux-uapi-headers.yml17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/linux-uapi-headers.yml b/examples/linux-uapi-headers.yml
new file mode 100644
index 0000000..02b58b3
--- /dev/null
+++ b/examples/linux-uapi-headers.yml
@@ -0,0 +1,17 @@
+tasks:
+ unpack:
+ fetch:
+ - name: 'linux-5.10.66.tar.xz'
+ sha256: '5dfa06bbbbd164b9ea669ec637b1e6d05fb5fea8ef3aeb6729f2cbcd0dfcc8a7'
+ run: |
+ tar xf "${DLDIR}/linux-5.10.66.tar.xz"
+
+ install:
+ inherit:
+ task: 'linux-uapi-headers:unpack'
+ run: |
+ TARGET_ARCH=arm64
+
+ cd linux-5.10.66
+ make INSTALL_HDR_PATH="${DESTDIR}${PREFIX}" ARCH="${TARGET_ARCH}" headers_install
+