add gcc-4.5.0 preliminary support
SVN-Revision: 21033
This commit is contained in:
@@ -11,8 +11,12 @@ curdir:=tools
|
||||
# subdirectories to descend into
|
||||
tools-y :=
|
||||
ifeq ($(CONFIG_EXTERNAL_TOOLCHAIN),)
|
||||
ifeq ($(CONFIG_GCC_VERSION_4_5),y)
|
||||
tools-$(CONFIG_GCC_VERSION_4_5) += gmp mpfr mpc
|
||||
else
|
||||
tools-$(CONFIG_GCC_VERSION_4_3)$(CONFIG_GCC_VERSION_4_4) += gmp mpfr
|
||||
endif
|
||||
endif
|
||||
tools-y += m4 autoconf automake bison pkg-config sed mklibs
|
||||
tools-y += sstrip ipkg-utils genext2fs libuuid mtd-utils mkimage
|
||||
tools-y += firmware-utils patch-cmdline quilt yaffs2
|
||||
@@ -40,6 +44,7 @@ $(curdir)/quilt/compile := $(curdir)/sed/install
|
||||
$(curdir)/dtc/compile := $(curdir)/bison/install
|
||||
$(curdir)/autoconf/compile := $(curdir)/m4/install
|
||||
$(curdir)/automake/compile := $(curdir)/m4/install $(curdir)/autoconf/install
|
||||
$(curdir)/mpc/compile := $(curdir)/gmp/install
|
||||
$(curdir)/mpfr/compile := $(curdir)/gmp/install
|
||||
$(curdir)/mtd-utils/compile := $(curdir)/libuuid/install
|
||||
|
||||
|
||||
40
tools/mpc/Makefile
Normal file
40
tools/mpc/Makefile
Normal file
@@ -0,0 +1,40 @@
|
||||
#
|
||||
# Copyright (C) 2009 OpenWrt.org
|
||||
#
|
||||
# This is free software, licensed under the GNU General Public License v2.
|
||||
# See /LICENSE for more information.
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mpc
|
||||
PKG_VERSION:=0.8.1
|
||||
|
||||
PKG_SOURCE_URL:=http://www.multiprecision.org/mpc/download/
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_MD5SUM:=5b34aa804d514cc295414a963aedb6bf
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
unexport CFLAGS
|
||||
|
||||
ifeq ($(HOST_OS),Darwin)
|
||||
GNU_HOST_NAME:=
|
||||
HOST_CONFIGURE_ARGS:=$(filter-out --target= --build= --host=,$(HOST_CONFIGURE_ARGS))
|
||||
endif
|
||||
|
||||
HOST_CONFIGURE_ARGS += \
|
||||
--enable-static \
|
||||
--disable-shared \
|
||||
--with-mpfr=$(TOPDIR)/staging_dir/host \
|
||||
--with-gmp=$(TOPDIR)/staging_dir/host
|
||||
|
||||
define Host/Configure
|
||||
(cd $(HOST_BUILD_DIR)/$(3); \
|
||||
$(HOST_CONFIGURE_CMD) \
|
||||
$(HOST_CONFIGURE_VARS) \
|
||||
$(HOST_CONFIGURE_ARGS); \
|
||||
)
|
||||
endef
|
||||
|
||||
|
||||
$(eval $(call HostBuild))
|
||||
@@ -7,11 +7,11 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=mpfr
|
||||
PKG_VERSION:=2.4.1
|
||||
PKG_VERSION:=2.4.2
|
||||
|
||||
PKG_SOURCE_URL:=http://www.mpfr.org/mpfr-$(PKG_VERSION)
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
|
||||
PKG_MD5SUM:=c5ee0a8ce82ad55fe29ac57edd35d09e
|
||||
PKG_MD5SUM:=89e59fe665e2b3ad44a6789f40b059a0
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
|
||||
@@ -7,18 +7,18 @@ diff -urN mpfr-2.4.1/Makefile.am mpfr-2.4.1.new/Makefile.am
|
||||
|
||||
-SUBDIRS = tests
|
||||
+SUBDIRS =
|
||||
EXTRA_DIST = BUGS FAQ.html PATCHES VERSION get_patches.sh round_raw_generic.c gen_inverse.h jyn_asympt.c
|
||||
|
||||
include_HEADERS = mpfr.h mpf2mpfr.h
|
||||
nobase_dist_doc_DATA = AUTHORS BUGS COPYING COPYING.LIB FAQ.html NEWS TODO \
|
||||
examples/ReadMe examples/divworst.c examples/rndo-add.c examples/sample.c
|
||||
diff -urN mpfr-2.4.1/Makefile.in mpfr-2.4.1.new/Makefile.in
|
||||
--- mpfr-2.4.1/Makefile.in 2009-02-25 17:18:06.000000000 +0100
|
||||
+++ mpfr-2.4.1.new/Makefile.in 2009-08-20 14:58:32.000000000 +0200
|
||||
@@ -295,7 +295,7 @@
|
||||
@@ -344,7 +344,7 @@
|
||||
top_srcdir = @top_srcdir@
|
||||
AUTOMAKE_OPTIONS = gnu ansi2knr
|
||||
ACLOCAL_AMFLAGS = -I m4
|
||||
-SUBDIRS = tests
|
||||
+SUBDIRS =
|
||||
EXTRA_DIST = BUGS FAQ.html PATCHES VERSION get_patches.sh round_raw_generic.c gen_inverse.h jyn_asympt.c
|
||||
include_HEADERS = mpfr.h mpf2mpfr.h
|
||||
lib_LTLIBRARIES = libmpfr.la
|
||||
nobase_dist_doc_DATA = AUTHORS BUGS COPYING COPYING.LIB FAQ.html NEWS TODO \
|
||||
examples/ReadMe examples/divworst.c examples/rndo-add.c examples/sample.c
|
||||
|
||||
|
||||
Reference in New Issue
Block a user