diff options
author | Richard Purdie <richard@openedhand.com> | 2007-12-29 23:50:20 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-12-29 23:50:20 +0000 |
commit | 925823d1d8b91362fc3dc655c62d9098e5c7ac46 (patch) | |
tree | 6ebfa73ab0290f75ca8ecf1b62be91a80b6472b7 /meta/packages/gcc | |
parent | 397c9e4ca4edd0713da9ce3a2f19db7dce88a449 (diff) | |
download | openembedded-core-925823d1d8b91362fc3dc655c62d9098e5c7ac46.tar.gz openembedded-core-925823d1d8b91362fc3dc655c62d9098e5c7ac46.tar.bz2 openembedded-core-925823d1d8b91362fc3dc655c62d9098e5c7ac46.zip |
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
Diffstat (limited to 'meta/packages/gcc')
3 files changed, 50 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-cross-kernel-3.4.4+csl-arm-2005q3/gcc-3.4.4-makefile-fix.patch b/meta/packages/gcc/gcc-cross-kernel-3.4.4+csl-arm-2005q3/gcc-3.4.4-makefile-fix.patch new file mode 100644 index 0000000000..74c1f26833 --- /dev/null +++ b/meta/packages/gcc/gcc-cross-kernel-3.4.4+csl-arm-2005q3/gcc-3.4.4-makefile-fix.patch @@ -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` + diff --git a/meta/packages/gcc/gcc-cross-kernel.inc b/meta/packages/gcc/gcc-cross-kernel.inc new file mode 100644 index 0000000000..42da6fef81 --- /dev/null +++ b/meta/packages/gcc/gcc-cross-kernel.inc @@ -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} +} + diff --git a/meta/packages/gcc/gcc-cross-kernel_csl-arm-2005q3.bb b/meta/packages/gcc/gcc-cross-kernel_csl-arm-2005q3.bb new file mode 100644 index 0000000000..cf1542d1e7 --- /dev/null +++ b/meta/packages/gcc/gcc-cross-kernel_csl-arm-2005q3.bb @@ -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" + |