summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh4
-rw-r--r--debian/source/format1
2 files changed, 4 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index 193305c..6239814 100755
--- a/build.sh
+++ b/build.sh
@@ -4,7 +4,9 @@ export CROSS_COMPILE=${CROSS_COMPILE:=}
make distclean
-export CPPFLAGS="-I/usr/src/linux-headers-`uname -r`/include -I/usr/include/libdrm"
+headers=$(ls -d -1 /usr/src/linux-headers-*-ux500 | tail -1)
+
+export CPPFLAGS="-I${headers}/include -I/usr/include/libdrm"
./configure --prefix=/usr
make
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..89ae9db
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (native)