Add -I. to sfc module builds diff -r 9dea529497fe drivers/net/sfc/sfc_resource/Makefile --- a/drivers/net/sfc/sfc_resource/Makefile +++ b/drivers/net/sfc/sfc_resource/Makefile @@ -3,7 +3,7 @@ EXTRA_CFLAGS += -D__CI_HARDWARE_CONFIG_F EXTRA_CFLAGS += -D__CI_HARDWARE_CONFIG_FALCON__ EXTRA_CFLAGS += -D__ci_driver__ EXTRA_CFLAGS += -Werror -EXTRA_CFLAGS += -Idrivers/net/sfc +EXTRA_CFLAGS += -Idrivers/net/sfc -Idrivers/net/sfc/sfc_resource sfc_resource-objs := resource_driver.o iopage.o efx_vi_shm.o \ driverlink_new.o kernel_proc.o kfifo.o \ diff -r 9dea529497fe drivers/xen/sfc_netback/Makefile --- a/drivers/xen/sfc_netback/Makefile +++ b/drivers/xen/sfc_netback/Makefile @@ -1,4 +1,4 @@ EXTRA_CFLAGS += -Idrivers/xen/sfc_netuti -EXTRA_CFLAGS += -Idrivers/xen/sfc_netutil -Idrivers/xen/netback -Idrivers/net/sfc +EXTRA_CFLAGS += -Idrivers/xen/sfc_netback -Idrivers/xen/sfc_netutil -Idrivers/xen/netback -Idrivers/net/sfc EXTRA_CFLAGS += -D__ci_driver__ EXTRA_CFLAGS += -DEFX_USE_KCOMPAT EXTRA_CFLAGS += -Werror diff -r 9dea529497fe drivers/xen/sfc_netfront/Makefile --- a/drivers/xen/sfc_netfront/Makefile +++ b/drivers/xen/sfc_netfront/Makefile @@ -1,4 +1,4 @@ EXTRA_CFLAGS += -Idrivers/xen/sfc_netuti -EXTRA_CFLAGS += -Idrivers/xen/sfc_netutil -Idrivers/xen/netfront +EXTRA_CFLAGS += -Idrivers/xen/sfc_netfront -Idrivers/xen/sfc_netutil -Idrivers/xen/netfront EXTRA_CFLAGS += -D__ci_driver__ EXTRA_CFLAGS += -Werror diff -r 9dea529497fe drivers/xen/sfc_netutil/Makefile --- a/drivers/xen/sfc_netutil/Makefile +++ b/drivers/xen/sfc_netutil/Makefile @@ -1,3 +1,4 @@ EXTRA_CFLAGS += -Werror +EXTRA_CFLAGS += -Idrivers/xen/sfc_netutil EXTRA_CFLAGS += -Werror ifdef GGOV