lkml.org 
[lkml]   [2008]   [Jan]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject(Try #2) [Patch 5/8] INFINIBAND: Remove 'TOPDIR' from Makefiles

>> -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 <sam@ravnborg.org>
Cc: Roland Dreier <rolandd@cisco.com>
Cc: Sean Hefty <mshefty@ichips.intel.com>
Cc: Hal Rosenstock <hal.rosenstock@gmail.com>
Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

---

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


\
 
 \ /
  Last update: 2008-01-01 14:43    [W:0.076 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site