>> -EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/cxgb3 \ >> - -I$(TOPDIR)/drivers/infiniband/hw/cxgb3/core > >> +EXTRA_CFLAGS += -I$(objtree)/drivers/net/cxgb3 \ >Drop $(TOPDIR) like this: >> +EXTRA_CFLAGS += -Idrivers/net/cxgb3 \ > >> + -I$(objtree)/drivers/infiniband/hw/cxgb3/core >And this line can be deleted - there is no such directory. >At least not in my tree.
Yes, correct. Thank you. -----------> This patch removes TOPDIR from infiniband Makefiles. Cc: Sam Ravnborg <[EMAIL PROTECTED]> Cc: Roland Dreier <[EMAIL PROTECTED]> Cc: Sean Hefty <[EMAIL PROTECTED]> Cc: Hal Rosenstock <[EMAIL PROTECTED]> Signed-off-by: WANG Cong <[EMAIL PROTECTED]> --- diff --git a/drivers/infiniband/hw/cxgb3/Makefile b/drivers/infiniband/hw/cxgb3/Makefile index 36b9898..7e7b5a6 100644 --- a/drivers/infiniband/hw/cxgb3/Makefile +++ b/drivers/infiniband/hw/cxgb3/Makefile @@ -1,5 +1,4 @@ -EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/cxgb3 \ - -I$(TOPDIR)/drivers/infiniband/hw/cxgb3/core +EXTRA_CFLAGS += -Idrivers/net/cxgb3 obj-$(CONFIG_INFINIBAND_CXGB3) += iw_cxgb3.o -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/