[PATCH] Fix building outside source directory

Andreas Schwab schwab at suse.de
Sat Mar 30 22:01:41 UTC 2013


The file linux/ioctlent.h is generated in the build directory, so
"../ioctlent.h" won't find it.

* linux/aarch64/ioctlent1.h: Remove "../" from include file name.
* linux/powerpc/ioctlent1.h: Likewise.
* linux/tile/ioctlent1.h: Likewise.
* linux/x32/ioctlent1.h: Likewise.
* linux/x86_64/ioctlent1.h: Likewise.
* linux/x86_64/ioctlent2.h: Likewise.

Signed-off-by: Andreas Schwab <schwab at suse.de>
---
 linux/aarch64/ioctlent1.h | 2 +-
 linux/powerpc/ioctlent1.h | 2 +-
 linux/tile/ioctlent1.h    | 2 +-
 linux/x32/ioctlent1.h     | 2 +-
 linux/x86_64/ioctlent1.h  | 2 +-
 linux/x86_64/ioctlent2.h  | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/linux/aarch64/ioctlent1.h b/linux/aarch64/ioctlent1.h
index df485d3..72eeaf1 100644
--- a/linux/aarch64/ioctlent1.h
+++ b/linux/aarch64/ioctlent1.h
@@ -1 +1 @@
-#include "../ioctlent.h"
+#include "ioctlent.h"
diff --git a/linux/powerpc/ioctlent1.h b/linux/powerpc/ioctlent1.h
index df485d3..72eeaf1 100644
--- a/linux/powerpc/ioctlent1.h
+++ b/linux/powerpc/ioctlent1.h
@@ -1 +1 @@
-#include "../ioctlent.h"
+#include "ioctlent.h"
diff --git a/linux/tile/ioctlent1.h b/linux/tile/ioctlent1.h
index 4e7eb8d..9057b32 100644
--- a/linux/tile/ioctlent1.h
+++ b/linux/tile/ioctlent1.h
@@ -1,2 +1,2 @@
 /* tilegx32/tilepro */
-#include "../ioctlent.h"
+#include "ioctlent.h"
diff --git a/linux/x32/ioctlent1.h b/linux/x32/ioctlent1.h
index 85b8cca..4750671 100644
--- a/linux/x32/ioctlent1.h
+++ b/linux/x32/ioctlent1.h
@@ -1,2 +1,2 @@
 /* i386 personality */
-#include "../ioctlent.h"
+#include "ioctlent.h"
diff --git a/linux/x86_64/ioctlent1.h b/linux/x86_64/ioctlent1.h
index 85b8cca..4750671 100644
--- a/linux/x86_64/ioctlent1.h
+++ b/linux/x86_64/ioctlent1.h
@@ -1,2 +1,2 @@
 /* i386 personality */
-#include "../ioctlent.h"
+#include "ioctlent.h"
diff --git a/linux/x86_64/ioctlent2.h b/linux/x86_64/ioctlent2.h
index da668a8..fd4b94d 100644
--- a/linux/x86_64/ioctlent2.h
+++ b/linux/x86_64/ioctlent2.h
@@ -1,2 +1,2 @@
 /* x32 personality */
-#include "../ioctlent.h"
+#include "ioctlent.h"
-- 
1.8.2

-- 
Andreas Schwab, SUSE Labs, schwab at suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."




More information about the Strace-devel mailing list