* [PATCH 1/2] tools/liblockdep: ignore generated .so file
@ 2015-01-25 13:30 Baruch Siach
2015-01-25 13:30 ` [PATCH 2/2] tools/liblockdep: don't include host headers Baruch Siach
2015-01-30 2:50 ` [PATCH 1/2] tools/liblockdep: ignore generated .so file Sasha Levin
0 siblings, 2 replies; 3+ messages in thread
From: Baruch Siach @ 2015-01-25 13:30 UTC (permalink / raw)
To: Sasha Levin; +Cc: linux-kernel, Baruch Siach
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
tools/lib/lockdep/.gitignore | 1 +
1 file changed, 1 insertion(+)
create mode 100644 tools/lib/lockdep/.gitignore
diff --git a/tools/lib/lockdep/.gitignore b/tools/lib/lockdep/.gitignore
new file mode 100644
index 000000000000..cc0e7a9f99e3
--- /dev/null
+++ b/tools/lib/lockdep/.gitignore
@@ -0,0 +1 @@
+liblockdep.so.*
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] tools/liblockdep: don't include host headers
2015-01-25 13:30 [PATCH 1/2] tools/liblockdep: ignore generated .so file Baruch Siach
@ 2015-01-25 13:30 ` Baruch Siach
2015-01-30 2:50 ` [PATCH 1/2] tools/liblockdep: ignore generated .so file Sasha Levin
1 sibling, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2015-01-25 13:30 UTC (permalink / raw)
To: Sasha Levin; +Cc: linux-kernel, Baruch Siach
Adding host headers to include path may cause unexpected surprises when cross
compiling. Remove /usr/local/include from the default include path.
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---
tools/lib/lockdep/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/lib/lockdep/Makefile b/tools/lib/lockdep/Makefile
index 52f9279c6c13..4b866c54f624 100644
--- a/tools/lib/lockdep/Makefile
+++ b/tools/lib/lockdep/Makefile
@@ -104,7 +104,7 @@ N =
export Q VERBOSE
-INCLUDES = -I. -I/usr/local/include -I./uinclude -I./include -I../../include $(CONFIG_INCLUDES)
+INCLUDES = -I. -I./uinclude -I./include -I../../include $(CONFIG_INCLUDES)
# Set compile option CFLAGS if not set elsewhere
CFLAGS ?= -g -DCONFIG_LOCKDEP -DCONFIG_STACKTRACE -DCONFIG_PROVE_LOCKING -DBITS_PER_LONG=__WORDSIZE -DLIBLOCKDEP_VERSION='"$(LIBLOCKDEP_VERSION)"' -rdynamic -O0 -g
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] tools/liblockdep: ignore generated .so file
2015-01-25 13:30 [PATCH 1/2] tools/liblockdep: ignore generated .so file Baruch Siach
2015-01-25 13:30 ` [PATCH 2/2] tools/liblockdep: don't include host headers Baruch Siach
@ 2015-01-30 2:50 ` Sasha Levin
1 sibling, 0 replies; 3+ messages in thread
From: Sasha Levin @ 2015-01-30 2:50 UTC (permalink / raw)
To: Baruch Siach; +Cc: linux-kernel
On 01/25/2015 08:30 AM, Baruch Siach wrote:
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> ---
> tools/lib/lockdep/.gitignore | 1 +
> 1 file changed, 1 insertion(+)
> create mode 100644 tools/lib/lockdep/.gitignore
>
> diff --git a/tools/lib/lockdep/.gitignore b/tools/lib/lockdep/.gitignore
> new file mode 100644
> index 000000000000..cc0e7a9f99e3
> --- /dev/null
> +++ b/tools/lib/lockdep/.gitignore
> @@ -0,0 +1 @@
> +liblockdep.so.*
>
Pulled both. Thanks.
Thanks,
Sasha
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-30 2:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-25 13:30 [PATCH 1/2] tools/liblockdep: ignore generated .so file Baruch Siach
2015-01-25 13:30 ` [PATCH 2/2] tools/liblockdep: don't include host headers Baruch Siach
2015-01-30 2:50 ` [PATCH 1/2] tools/liblockdep: ignore generated .so file Sasha Levin
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.