Commit 05943249 authored by Igor Russkikh's avatar Igor Russkikh Committed by David S. Miller
Browse files

net: atlantic: fix build when object tree is separate



Driver subfolder files refer parent folder includes in an
absolute manner.

Makefile contains a -I for this, but apparently that does not
work if object tree is separated.

Adding srctree to fix that.

Signed-off-by: default avatarIgor Russkikh <irusskikh@marvell.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 5e46e43c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@

obj-$(CONFIG_AQTION) += atlantic.o

ccflags-y += -I$(src)
ccflags-y += -I$(srctree)/$(src)

atlantic-objs := aq_main.o \
	aq_nic.o \