diff --git a/devices/genet/Kbuild.in b/devices/genet/Kbuild.in index 425808b1..077c834c 100644 --- a/devices/genet/Kbuild.in +++ b/devices/genet/Kbuild.in @@ -23,6 +23,9 @@ # #----------------------------------------------------------------------------- +src := @abs_srcdir@ +ccflags-y := -I@abs_top_builddir@ + TOPDIR := $(src)/../.. REV := $(shell if test -s $(TOPDIR)/revision; then \ diff --git a/devices/igc/Kbuild.in b/devices/igc/Kbuild.in index 201ff013..84999004 100644 --- a/devices/igc/Kbuild.in +++ b/devices/igc/Kbuild.in @@ -23,6 +23,9 @@ # #----------------------------------------------------------------------------- +src := @abs_srcdir@ +ccflags-y := -I@abs_top_builddir@ + TOPDIR := $(src)/../.. REV := $(shell if test -s $(TOPDIR)/revision; then \ diff --git a/devices/r8169/Kbuild.in b/devices/r8169/Kbuild.in index 1e55f6ef..b74dfe8e 100644 --- a/devices/r8169/Kbuild.in +++ b/devices/r8169/Kbuild.in @@ -23,6 +23,9 @@ # #----------------------------------------------------------------------------- +src := @abs_srcdir@ +ccflags-y := -I@abs_top_builddir@ + TOPDIR := $(src)/../.. REV := $(shell if test -s $(TOPDIR)/revision; then \ diff --git a/devices/stmmac/Kbuild.in b/devices/stmmac/Kbuild.in index 60564fb4..97e3aa49 100644 --- a/devices/stmmac/Kbuild.in +++ b/devices/stmmac/Kbuild.in @@ -31,6 +31,9 @@ # #----------------------------------------------------------------------------- +src := @abs_srcdir@ +ccflags-y := -I@abs_top_builddir@ + TOPDIR := $(src)/../.. REV := $(shell if test -s $(TOPDIR)/revision; then \