1 include $(TOPDIR
)/rules.mk
4 PKG_VERSION
:=$(strip $(subst ",, $(CONFIG_BINUTILS_VERSION)))#"))
6 STABLE_SITE
:=http
://ftp.gnu.org
/gnu
/binutils
/ \
7 ftp
://gatekeeper.dec.com
/pub
/GNU
/ \
8 ftp
://ftp.uu.net
/archive
/systems
/gnu
/ \
9 ftp
://ftp.eu.uu.net
/pub
/gnu
/ \
10 ftp
://ftp.funet.fi
/pub
/gnu
/prep
/ \
11 ftp
://ftp.leo.org
/pub
/comp
/os
/unix
/gnu
/
13 DEVEL_SITE
:=http
://www.fr.kernel.org
/pub
/linux
/devel
/binutils \
14 http
://www.fi.kernel.org
/pub
/linux
/devel
/binutils \
15 http
://ftp.kernel.org
/pub
/linux
/devel
/binutils \
16 http
://www.de.kernel.org
/pub
/linux
/devel
/binutils
18 ifeq ($(BINUTILS_VERSION
),2.16.1)
19 PKG_SOURCE_URL
:=$(STABLE_SITE
)
21 PKG_SOURCE_URL
:=$(DEVEL_SITE
)
24 PKG_SOURCE
:=binutils-
$(PKG_VERSION
).
tar.bz2
26 PKG_BUILD_DIR
:=$(TOOL_BUILD_DIR
)/$(PKG_NAME
)-$(PKG_VERSION
)
29 include $(INCLUDE_DIR
)/host-build.mk
33 $(call Build
/Prepare
/Default
)
34 if
[ -d .
/patches
/$(PKG_VERSION
) ]; then \
35 $(SCRIPT_DIR
)/patch-kernel.sh
$(PKG_BUILD_DIR
) .
/patches
/$(PKG_VERSION
); \
39 define Build
/Configure
40 (cd
$(PKG_BUILD_DIR
); \
42 --prefix=$(STAGING_DIR
) \
43 --build
=$(GNU_HOST_NAME
) \
44 --host
=$(GNU_HOST_NAME
) \
45 --target
=$(REAL_GNU_TARGET_NAME
) \
52 $(MAKE
) -C
$(PKG_BUILD_DIR
) -j
$(CONFIG_JLEVEL
) all
56 $(MAKE
) -C
$(PKG_BUILD_DIR
) -j
$(CONFIG_JLEVEL
) install
59 $(eval
$(call HostBuild
))
This page took 0.04534 seconds and 5 git commands to generate.