gcc: Add gcc-cross-kernel 3.4.4+csl-arm-2005q3

git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3387 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
Richard Purdie 2007-12-29 23:50:20 +00:00
parent 397c9e4ca4
commit 925823d1d8
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,29 @@
--- gcc-3.4.4/gcc/Makefile.in.orig 2005-07-25 21:00:37 +0200
+++ gcc-3.4.4/gcc/Makefile.in 2005-07-25 21:01:19 +0200
@@ -304,7 +304,7 @@
if [ "$(host)" = "$(target)" ] ; then \
echo ar; \
else \
- t='$(program_transform_name)'; echo ar | sed -e $$t ; \
+ t='$(program_transform_name)'; echo ar | sed -e "$$t" ; \
fi; \
fi`
AR_FLAGS_FOR_TARGET =
@@ -317,7 +317,7 @@
if [ "$(host)" = "$(target)" ] ; then \
echo $(RANLIB); \
else \
- t='$(program_transform_name)'; echo ranlib | sed -e $$t ; \
+ t='$(program_transform_name)'; echo ranlib | sed -e "$$t" ; \
fi; \
fi`
NM_FOR_TARGET = ` \
@@ -329,7 +329,7 @@
if [ "$(host)" = "$(target)" ] ; then \
echo nm; \
else \
- t='$(program_transform_name)'; echo nm | sed -e $$t ; \
+ t='$(program_transform_name)'; echo nm | sed -e "$$t" ; \
fi; \
fi`

View File

@ -0,0 +1,16 @@
SECTION = "devel"
# cut-down gcc for kernel builds
# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
do_install () {
:
}
do_stage () {
cd gcc
oe_runmake install-common install-headers install-libgcc
install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
}

View File

@ -0,0 +1,5 @@
require gcc-cross-initial_${PV}.bb
require gcc-cross-kernel.inc
SRC_URI += "file://gcc-3.4.4-makefile-fix.patch;patch=1"