summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/packages/gcc/gcc-cross-kernel-3.4.4+csl-arm-2005q3/gcc-3.4.4-makefile-fix.patch29
-rw-r--r--meta/packages/gcc/gcc-cross-kernel.inc16
-rw-r--r--meta/packages/gcc/gcc-cross-kernel_csl-arm-2005q3.bb5
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 @@
1--- gcc-3.4.4/gcc/Makefile.in.orig 2005-07-25 21:00:37 +0200
2+++ gcc-3.4.4/gcc/Makefile.in 2005-07-25 21:01:19 +0200
3@@ -304,7 +304,7 @@
4 if [ "$(host)" = "$(target)" ] ; then \
5 echo ar; \
6 else \
7- t='$(program_transform_name)'; echo ar | sed -e $$t ; \
8+ t='$(program_transform_name)'; echo ar | sed -e "$$t" ; \
9 fi; \
10 fi`
11 AR_FLAGS_FOR_TARGET =
12@@ -317,7 +317,7 @@
13 if [ "$(host)" = "$(target)" ] ; then \
14 echo $(RANLIB); \
15 else \
16- t='$(program_transform_name)'; echo ranlib | sed -e $$t ; \
17+ t='$(program_transform_name)'; echo ranlib | sed -e "$$t" ; \
18 fi; \
19 fi`
20 NM_FOR_TARGET = ` \
21@@ -329,7 +329,7 @@
22 if [ "$(host)" = "$(target)" ] ; then \
23 echo nm; \
24 else \
25- t='$(program_transform_name)'; echo nm | sed -e $$t ; \
26+ t='$(program_transform_name)'; echo nm | sed -e "$$t" ; \
27 fi; \
28 fi`
29
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 @@
1SECTION = "devel"
2# cut-down gcc for kernel builds
3# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
4
5PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
6
7do_install () {
8 :
9}
10
11do_stage () {
12 cd gcc
13 oe_runmake install-common install-headers install-libgcc
14 install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
15}
16
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 @@
1require gcc-cross-initial_${PV}.bb
2require gcc-cross-kernel.inc
3
4SRC_URI += "file://gcc-3.4.4-makefile-fix.patch;patch=1"
5