aboutsummaryrefslogtreecommitdiff
path: root/TOOLS/build.sh
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2024-02-10 13:06:00 +0100
committerJan200101 <sentrycraft123@gmail.com>2024-02-11 19:16:27 +0100
commit3c5e047b165beba7707bf6ed44f013049650e4f5 (patch)
tree805d6294f52644eec500e3bb63147551e1365ae5 /TOOLS/build.sh
parent3727d9b1f10ea61b4f350fb0ef1326ef3ffbe7ee (diff)
downloadkernel-fsync-3c5e047b165beba7707bf6ed44f013049650e4f5.tar.gz
kernel-fsync-3c5e047b165beba7707bf6ed44f013049650e4f5.zip
kernel 6.7.4 Steam Deck OLED fixes
Diffstat (limited to 'TOOLS/build.sh')
-rwxr-xr-xTOOLS/build.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/TOOLS/build.sh b/TOOLS/build.sh
new file mode 100755
index 0000000..da97d88
--- /dev/null
+++ b/TOOLS/build.sh
@@ -0,0 +1,10 @@
+#/bin/env bash
+
+set -eux
+
+# make sure we check our own directories
+TOPDIR="$(realpath "$(dirname "${BASH_SOURCE[0]}")/..")"
+SOURCEDIR="${TOPDIR}/SOURCES"
+SPECDIR="${TOPDIR}/SPECS"
+
+rpmbuild --define "_sourcedir ${SOURCEDIR}" $@