Skip to contentSkip to conversation

net: fix ifenslave build flags

PATCH In review Randy Dunlap 2 participants 2 messages Feb 11, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: fix ifenslave build flags

From: Randy Dunlap <[email protected]>

-I (include path) should be specified for host builds. This one was overlooked somehow. Fixes
https://bugzilla.kernel.org/show_bug.cgi?id=25902

---
 Documentation/networking/Makefile |    2 ++
 1 file changed, 2 insertions(+)
Documentation/networking/Makefile +2 -0
@@ -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)