summaryrefslogtreecommitdiff
path: root/Documentation/networking/Makefile
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-02-11 07:05:25 +0300
committerDavid S. Miller <davem@davemloft.net>2011-02-11 07:05:25 +0300
commit520732af9158308e96245b54f1d573861eafb631 (patch)
treec779df8502f3a38ccd0060bfed6ae52cb4f0b0cf /Documentation/networking/Makefile
parent3e9d08ec0a68f6faf718d5a7e050fe5ca0ba004f (diff)
downloadlinux-520732af9158308e96245b54f1d573861eafb631.tar.xz
net: fix ifenslave build flags
-I (include path) should be specified for host builds. This one was overlooked somehow. Fixes https://bugzilla.kernel.org/show_bug.cgi?id=25902 Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Reported-by: Alexey Salmin <alexey.salmin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/Makefile')
-rw-r--r--Documentation/networking/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/networking/Makefile b/Documentation/networking/Makefile
index 5aba7a33aeeb..24c308dd3fd1 100644
--- a/Documentation/networking/Makefile
+++ b/Documentation/networking/Makefile
@@ -4,6 +4,8 @@ obj- := dummy.o
# List of programs to build
hostprogs-y := ifenslave
+HOSTCFLAGS_ifenslave.o += -I$(objtree)/usr/include
+
# Tell kbuild to always build the programs
always := $(hostprogs-y)