]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
dtrace: fix compilation with O=
authorNick Alcock <nick.alcock@oracle.com>
Tue, 30 May 2017 14:07:18 +0000 (15:07 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Tue, 20 Jun 2017 13:33:07 +0000 (14:33 +0100)
Separate objdir compilation was broken because we were looking for
autoconf.h in the wrong place.

Fix it by looking in the same place as everything else in scripts/ does.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Acked-by: Kris Van Hees <kris.van.hees@oracle.com>
Orabug: 26167475

scripts/kmodsdt.c

index f2364c3310f94714126a815d6105921c88ad8f7f..ff9977a03e42b95f4e506a325efd8e47c7a69402 100644 (file)
@@ -3,7 +3,7 @@
  * Use is subject to license terms.
  */
 
-#include <autoconf.h>
+#include "../include/generated/autoconf.h"
 
 #define        ELF_TARGET_ALL
 #include <elf.h>