This repository was archived by the owner on Mar 7, 2021. It is now read-only.
Commit 7394cf0
committed
Go back to using KDIR to find the kernel sources (fixes #243)
On Debian, abs_srctree points to /usr/share/linux-headers-x.y-common,
which doesn't have generated arch-specific headers. We previously ran
into a similar problem in kernel-cflags-finder regarding expanding
includes in the right directory (see the comment in b637890).
abs_objtree seems to work but I'm not sure that's reliable, it sounds
like it's usable for out-of-tree builds in some fashion. CURDIR would
work, but since we're using KDIR in the parent Makefile which does a
`make -C $(KDIR)`, we may as well export and use that variable.1 parent 51688f9 commit 7394cf0
5 files changed
+4
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments