summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Dunlap <randy.dunlap@oracle.com>2011-02-10 20:05:25 -0800
committerDavid S. Miller <davem@davemloft.net>2011-02-10 20:05:25 -0800
commit520732af9158308e96245b54f1d573861eafb631 (patch)
treec779df8502f3a38ccd0060bfed6ae52cb4f0b0cf
parent3e9d08ec0a68f6faf718d5a7e050fe5ca0ba004f (diff)
downloadop-kernel-dev-520732af9158308e96245b54f1d573861eafb631.zip
op-kernel-dev-520732af9158308e96245b54f1d573861eafb631.tar.gz
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>
-rw-r--r--Documentation/networking/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Documentation/networking/Makefile b/Documentation/networking/Makefile
index 5aba7a3..24c308d 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)
OpenPOWER on IntegriCloud