Changeset 128

Show
Ignore:
Timestamp:
06/18/06 23:49:02 (6 years ago)
Author:
wbx
Message:

- remove some copyright and license stuff. it is kept in a central
LICENSE file, so that everybody can find it. The buildsystem is based
on uclibc buildroot.
- cleanup some comments, we need a better external documentation for
the toolchain build.
- add correct url to trac

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/toolchain/gcc/Makefile

    r65 r128  
    1 # Makefile for to build a gcc/uClibc toolchain 
    2 
    3 # Copyright (C) 2002-2003 Erik Andersen <andersen@uclibc.org> 
    4 # Copyright (C) 2004 Manuel Novoa III <mjn3@uclibc.org> 
    5 # Copyright (C) 2005 Felix Fietkau <openwrt@nbd.name> 
    6 
    7 # This program is free software; you can redistribute it and/or modify 
    8 # it under the terms of the GNU General Public License as published by 
    9 # the Free Software Foundation; either version 2 of the License, or 
    10 # (at your option) any later version. 
    11 
    12 # This program is distributed in the hope that it will be useful, 
    13 # but WITHOUT ANY WARRANTY; without even the implied warranty of 
    14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 
    15 # General Public License for more details. 
    16 
    17 # You should have received a copy of the GNU General Public License 
    18 # along with this program; if not, write to the Free Software 
    19 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 
     1# $FreeWRT$ 
    202 
    213include $(TOPDIR)/rules.mk 
     
    235GCC_VERSION:=3.4.4 
    246GCC_SITE:=ftp://ftp.fu-berlin.de/unix/languages/gcc/releases/gcc-$(GCC_VERSION) \ 
    25         http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-$(GCC_VERSION) 
    26  
     7          http://mirrors.rcn.net/pub/sourceware/gcc/releases/gcc-$(GCC_VERSION) 
    278GCC_SOURCE:=gcc-$(GCC_VERSION).tar.bz2 
    289GCC_DIR:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION) 
    2910GCC_CAT:=bzcat 
    30 GCC_STRIP_HOST_BINARIES:=true 
    3111 
    3212TARGET_LANGUAGES:=c,c++ 
    33  
    34 ############################################################# 
    35 # 
    36 # build the first pass gcc compiler 
    37 # 
    38 ############################################################# 
    3913 
    4014GCC_BUILD_DIR1:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-initial 
     
    5327        $(SCRIPT_DIR)/patch-kernel.sh $(GCC_DIR) ./$(GCC_VERSION) \*.patch 
    5428        $(SED) 's,\(version_string.. = "[0-9\.]*\).*\(";\),\1 (FreeWrt)\2,' $(GCC_DIR)/gcc/version.c 
    55         $(SED) 's,\(bug_report_url.. = "\).*\(";\),\1<URL:http://www.freewrt.org/development>\2,' $(GCC_DIR)/gcc/version.c 
     29        $(SED) 's,\(bug_report_url.. = "\).*\(";\),\1<URL:http://www.freewrt.org/development/freewrt>\2,' $(GCC_DIR)/gcc/version.c 
    5630        touch $@ 
    5731 
     
    8155$(STAGING_DIR)/bin/$(REAL_GNU_TARGET_NAME)-gcc: $(GCC_BUILD_DIR1)/.compiled 
    8256        PATH=$(TARGET_PATH) $(MAKE) -C $(GCC_BUILD_DIR1) install-gcc 
    83  
    84 ############################################################# 
    85 # 
    86 # second pass compiler build.  Build the compiler targeting  
    87 # the newly built shared uClibc library. 
    88 # 
    89 ############################################################# 
    9057 
    9158GCC_BUILD_DIR2:=$(TOOL_BUILD_DIR)/gcc-$(GCC_VERSION)-final