linux-kbuild.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Quoted, absolute -I paths break out-of-tree Makefiles [regression]
@ 2017-02-05 18:24 Herwig Hochleitner
  0 siblings, 0 replies; only message in thread
From: Herwig Hochleitner @ 2017-02-05 18:24 UTC (permalink / raw)
  To: linux-kbuild; +Cc: fche, volth

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

Systemtap on NixOS generates
[Makefiles](https://hastebin.com/nejijihege.mk#L124) adding
-I"/absolute/path" to EXTRA_CPATH.

This works fine, when used with an in-tree kernel build. In NixOS we
save space on the kernel-dev package, by making [modules_prepare in a
O=oot build and delivering
oot](https://github.com/NixOS/nixpkgs/blob/bb8ded9a78b61f2a23b2e4a0e516533ae0c0d1d4/pkgs/os-specific/linux/kernel/manual-config.nix#L151)


Up to at least 4.4, that -I"/quoted/absolute/stap-include" works with
O=oot. Starting with at most 4.9.2, that flag gets mangled into
-I/absolute/oot"/quoted/absolute/stap-include".

Attached is a script, that demonstrates this issue, could somebody
with a repository clone bisect this for me, please?

best regards

[-- Attachment #2: test-quoted-kbuild-makefile.sh --]
[-- Type: application/x-sh, Size: 744 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-05 18:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-05 18:24 Quoted, absolute -I paths break out-of-tree Makefiles [regression] Herwig Hochleitner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).