Changeset 735

Show
Ignore:
Timestamp:
09/26/06 12:44:40 (2 years ago)
Author:
tg
Message:

strip the .comment section too, shaves some bytes off the executables
also add licence boilerplate

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/vars.mk

    r725 r735  
    33# This file is part of the FreeWRT project. FreeWRT is copyrighted 
    44# material, please see the LICENCE file in the top-level directory 
    5 # or at http://www.freewrt.org/license for details. 
     5# or at http://www.freewrt.org/licence for details. 
    66#- 
    77# Note: if this file ever doesn't work on both GNU and BSD make, 
     
    6565IPKG_STATE_DIR:=        $(TARGET_DIR)/usr/lib/ipkg 
    6666 
    67 RSTRIP:=                STRIP="$(STRIP)" $(SCRIPT_DIR)/rstrip.sh 
     67RSTRIP:=                STRIP="$(STRIP) -R .comment" $(SCRIPT_DIR)/rstrip.sh 
    6868RSTRIP_KMOD:=           STRIP="$(TARGET_CROSS)strip --strip-unneeded -R .comment" \ 
    6969                        $(SCRIPT_DIR)/rstrip.sh 
  • trunk/freewrt/scripts/rstrip.sh

    r1 r735  
    11#!/bin/sh 
     2# $FreeWRT$ 
     3#- 
     4# This file is part of the FreeWRT project. FreeWRT is copyrighted 
     5# material, please see the LICENCE file in the top-level directory 
     6# or at http://www.freewrt.org/licence for details. 
    27 
    38SELF=${0##*/}