Changeset 518

Show
Ignore:
Timestamp:
08/14/06 23:55:47 (2 years ago)
Author:
tg
Message:

* hopefully fix the imagebuilder (PR #70 re TOPDIR)
* add licence boilerplate as requested by wbx@

for the curious: imagebuilder is generated in target/linux/Makefile,
and my thoughts were like, WTF did that and why?

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/target/linux/imagebuilder/Makefile

    r1 r518  
    1 default: clean all 
     1# $FreeWRT$ 
     2#- 
     3# This file is part of the FreeWRT project. FreeWRT is copyrighted 
     4# material, please see the LICENCE file in the top-level directory 
     5# or at http://www.freewrt.org/license for details. 
     6 
     7default: clean wrap-all 
    28 
    39TOPDIR:=${shell pwd} 
     
    4854        find $(LINUX_BUILD_DIR)/root -name '.svn' || 'CVS' | xargs rm -rf 
    4955        $(MAKE) -S -C image KERNEL="$(KERNEL)" BOARD="$(BOARD)" BIN_DIR="$(BIN_DIR)/$(LIST)" install 
     56 
     57wrap-all: 
     58        @printf '%s\nwq\n' "1s#^.*\$$#TOPDIR:=$$(readlink -nf .)#" | \ 
     59            ed -s lbin/prereq.mk 
     60        @./lbin/gmake all