Changeset 1765

Show
Ignore:
Timestamp:
01/27/07 20:23:52 (2 years ago)
Author:
tg
Message:

* move information common to binutils package and toolchain Makefile

into a Makefile.inc, namely version, upstream site, md5 sum, extra
configure options

* also move the package "dash version" to toolchain/binutils/Makefile.inc

so that it can be incremented there every time we switch versions

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/package/binutils/Makefile

    r1736 r1765  
    66 
    77include ${TOPDIR}/rules.mk 
     8include ${TOPDIR}/toolchain/binutils/Makefile.inc 
    89 
    910PKG_NAME:=              binutils 
    10 PKG_VERSION:=           2.17.50.0.10 
    11 PKG_RELEASE:=           1 
    12 PKG_MD5SUM:=            3919c6cff57ef887c5c9f3490d1d6620 
     11PKG_VERSION:=           ${BINUTILS_VERSION} 
     12PKG_RELEASE:=           ${BINUTILS_PATCHLEVEL} 
     13PKG_MD5SUM:=            ${BINUTILS_MD5SUM} 
    1314PKG_SOURCE:=            ${PKG_NAME}-${PKG_VERSION}.tar.bz2 
    14 PKG_SOURCE_URL:=        http://www.kernel.org/pub/linux/devel/binutils/ 
     15PKG_SOURCE_URL:=        ${BINUTILS_SITE} 
    1516 
    1617include ${TOPDIR}/mk/package.mk 
     
    1920 
    2021CONFIGURE_STYLE=        gnu 
     22CONFIGURE_ARGS+=        ${BINUTILS_CONFIGURE} 
    2123BUILD_STYLE=            auto 
    2224INSTALL_STYLE=          auto 
  • trunk/freewrt/toolchain/binutils/Makefile

    r1764 r1765  
    11# $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/licence for details. 
    26 
    37include $(TOPDIR)/rules.mk 
    48include ../rules.mk 
    5  
    6 BINUTILS_VERSION:=      2.16.1 
    7 BINUTILS_SITE:=         http://ftp.gnu.org/gnu/binutils/ \ 
    8                         ftp://gatekeeper.dec.com/pub/GNU/ \ 
    9                         ftp://ftp.uu.net/archive/systems/gnu/ \ 
    10                         ftp://ftp.eu.uu.net/pub/gnu/ \ 
    11                         ftp://ftp.funet.fi/pub/gnu/prep/ \ 
    12                         ftp://ftp.leo.org/pub/comp/os/unix/gnu/ 
     9include Makefile.inc 
    1310 
    1411SOURCE:=                binutils-$(BINUTILS_VERSION).tar.bz2 
    15 BINUTILS_MD5SUM:=       6a9d529efb285071dad10e1f3d2b2967 
    1612BINUTILS_DIR:=          $(TOOLCHAIN_BUILD_DIR)/binutils-$(BINUTILS_VERSION) 
    1713BINUTILS_DIR1:=         $(TOOLCHAIN_BUILD_DIR)/binutils-$(BINUTILS_VERSION)-build 
     
    3834                --host=$(GNU_HOST_NAME) \ 
    3935                --target=$(REAL_GNU_TARGET_NAME) \ 
    40                 --disable-werror \ 
    4136                --disable-nls \ 
     37                ${BINUTILS_CONFIGURE} \ 
    4238        ); 
    4339        touch $(BINUTILS_DIR1)/.configured