summaryrefslogtreecommitdiff
path: root/toolchain
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-08-12 21:52:58 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-08-12 21:52:58 +0200
commit48b4e0eac16a23713698ea4cd088cd8c857e4c33 (patch)
tree9ad1d710268cbb5a405439d3e54cb9e926635048 /toolchain
parent5e4078831832697218a7bbe94571a985cce7bbc6 (diff)
update gcc, kernel and uclibc Makefile
- bring rb532 in shape, make it bootable
Diffstat (limited to 'toolchain')
-rw-r--r--toolchain/gcc/Makefile.inc2
-rw-r--r--toolchain/uClibc/Makefile5
2 files changed, 6 insertions, 1 deletions
diff --git a/toolchain/gcc/Makefile.inc b/toolchain/gcc/Makefile.inc
index 9b771706f..3fa197be8 100644
--- a/toolchain/gcc/Makefile.inc
+++ b/toolchain/gcc/Makefile.inc
@@ -2,7 +2,7 @@
# material, please see the LICENCE file in the top-level directory.
PKG_NAME:= gcc
-PKG_VERSION:= 4.4.0
+PKG_VERSION:= 4.4.1
PKG_RELEASE:= 1
PKG_MD5SUM:= cf5d787bee57f38168b74d65a7c0e6fd
PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
diff --git a/toolchain/uClibc/Makefile b/toolchain/uClibc/Makefile
index e393eba5b..69b5d343a 100644
--- a/toolchain/uClibc/Makefile
+++ b/toolchain/uClibc/Makefile
@@ -8,6 +8,11 @@ include ../rules.mk
include Makefile.inc
include ${TOPDIR}/mk/buildhlp.mk
+#workaround for mips and gcc 4.4, where -Os does not inline code in ld.so
+ifeq ($(ARCH),mips)
+TARGET_CFLAGS:=$(subst Os,O2,$(TARGET_CFLAGS))
+endif
+
$(WRKBUILD)/.headers:
$(SED) 's,^CROSS=.*,CROSS=$(TARGET_CROSS),g' $(WRKBUILD)/Rules.mak
sed -e 's^KERNEL_HEADERS.*$$KERNEL_HEADERS=\"${TOOLCHAIN_SYSROOT}/usr/include\"' \