diff options
author | Kalle Vahlman <kalle.vahlman@movial.com> | 2011-12-19 06:34:00 +0000 |
---|---|---|
committer | Kalle Vahlman <kalle.vahlman@movial.com> | 2011-12-19 06:35:09 +0000 |
commit | c330aca4af24d54de59bfe9dc8e7e83de2ff20f3 (patch) | |
tree | 6f19a90c193c229bcf61960231faba8fc7699495 | |
parent | 9985b75c07d0f4bb8e52b4a16acefd90b86ca964 (diff) |
We are not always on a Snowball, can't use uname to search for headers
Instead we look for our flavored headers in /usr/src, latest wins.
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 81a2c11..c944ea9 100755 --- a/debian/rules +++ b/debian/rules @@ -8,7 +8,7 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 -export KDIR=/usr/src/linux-headers-$(shell uname -r)/include +export KDIR=$(shell ls -d -1 /usr/src/linux-headers-*-ux500 | tail -1)/include %: dh $@ |