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[Patch 8/8] Remove 'TOPDIR' from the Top Makefile

    TOPDIR is obsolete, thus can be removed.
    This patch removes TOPDIR from the top Makefile.

    Cc: Sam Ravnborg <sam@ravnborg.org>
    Signed-off-by: WANG Cong <xiyou.wangcong@gmail.com>

    ---

    diff --git a/Makefile b/Makefile
    index fbb8dfc..c892d14 100644
    --- a/Makefile
    +++ b/Makefile
    @@ -148,15 +148,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

    \
     
     \ /
      Last update: 2008-01-01 08:47    [W:0.025 / U:3.124 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site