2 # Copyright (C) 2006 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
7 include $(TOPDIR
)/rules.mk
10 PKG_VERSION
:=$(strip $(subst ",, $(CONFIG_BINUTILS_VERSION)))#"))
12 PKG_SOURCE_URL
:=http
://ftp.gnu.org
/gnu
/binutils
/ \
13 ftp
://gatekeeper.dec.com
/pub
/GNU
/ \
14 ftp
://ftp.uu.net
/archive
/systems
/gnu
/ \
15 ftp
://ftp.eu.uu.net
/pub
/gnu
/ \
16 ftp
://ftp.funet.fi
/pub
/gnu
/prep
/ \
17 ftp
://ftp.leo.org
/pub
/comp
/os
/unix
/gnu
/
19 PKG_SOURCE
:=binutils-
$(PKG_VERSION
).
tar.bz2
21 PKG_BUILD_DIR
:=$(TOOLCHAIN_BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
23 PATCH_DIR
:=.
/patches
/$(PKG_VERSION
)
25 include $(INCLUDE_DIR
)/host-build.mk
27 define Build
/Configure
28 (cd
$(PKG_BUILD_DIR
); \
30 --prefix=$(STAGING_DIR
) \
31 --build
=$(GNU_HOST_NAME
) \
32 --host
=$(GNU_HOST_NAME
) \
33 --target
=$(REAL_GNU_TARGET_NAME
) \
40 $(MAKE
) -C
$(PKG_BUILD_DIR
) -j
$(CONFIG_JLEVEL
) all
44 $(MAKE
) -C
$(PKG_BUILD_DIR
) -j
$(CONFIG_JLEVEL
) install
47 $(eval
$(call HostBuild
))
This page took 0.042628 seconds and 5 git commands to generate.