summaryrefslogtreecommitdiffstats
path: root/Documentation/networking/Makefile
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-02-11 05:05:25 +0100
committerDavid S. Miller <davem@davemloft.net>2011-02-11 05:05:25 +0100
commit520732af9158308e96245b54f1d573861eafb631 (patch)
treec779df8502f3a38ccd0060bfed6ae52cb4f0b0cf /Documentation/networking/Makefile
parentvirtio_net: Add schedule check to napi_enable call (diff)
downloadlinux-520732af9158308e96245b54f1d573861eafb631.tar.xz
linux-520732af9158308e96245b54f1d573861eafb631.zip
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)