lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090630090639.GA5873@cr0.nay.redhat.com>
Date:	Tue, 30 Jun 2009 17:06:39 +0800
From:	Amerigo Wang <xiyou.wangcong@...il.com>
To:	Amerigo Wang <amwang@...hat.com>
Cc:	linux-kernel@...r.kernel.org, akpm@...ux-foundation.org,
	sam@...nborg.org
Subject: Re: [Patch] kbuild: finally remove the obsolete variable $TOPDIR

On Fri, Jun 19, 2009 at 03:40:26AM -0400, Amerigo Wang wrote:
>
>TOPDIR is obsolete, it can be finally removed now.
>
>Signed-off-by: WANG Cong <amwang@...hat.com>
>Cc: Sam <sam@...nborg.org>

ping Sam...


>
>---
>diff --git a/Makefile b/Makefile
>index 46e1c9d..6e41628 100644
>--- a/Makefile
>+++ b/Makefile
>@@ -140,15 +140,13 @@ _all: modules
> endif
> 
> srctree		:= $(if $(KBUILD_SRC),$(KBUILD_SRC),$(CURDIR))
>-TOPDIR		:= $(srctree)
>-# FIXME - TOPDIR is obsolete, use srctree/objtree
> objtree		:= $(CURDIR)
> src		:= $(srctree)
> obj		:= $(objtree)
> 
> VPATH		:= $(srctree)$(if $(KBUILD_EXTMOD),:$(KBUILD_EXTMOD))
> 
>-export srctree objtree VPATH TOPDIR
>+export srctree objtree VPATH
> 
> 
> # SUBARCH tells the usermode build what the underlying arch is.  That is set
>diff --git a/drivers/scsi/cxgb3i/Kbuild b/drivers/scsi/cxgb3i/Kbuild
>index 25a2032..70d060b 100644
>--- a/drivers/scsi/cxgb3i/Kbuild
>+++ b/drivers/scsi/cxgb3i/Kbuild
>@@ -1,4 +1,4 @@
>-EXTRA_CFLAGS += -I$(TOPDIR)/drivers/net/cxgb3
>+EXTRA_CFLAGS += -I$(srctree)/drivers/net/cxgb3
> 
> cxgb3i-y := cxgb3i_init.o cxgb3i_iscsi.o cxgb3i_pdu.o cxgb3i_offload.o cxgb3i_ddp.o
> obj-$(CONFIG_SCSI_CXGB3_ISCSI) += cxgb3i.o
>--
>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>the body of a message to majordomo@...r.kernel.org
>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>Please read the FAQ at  http://www.tux.org/lkml/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ