summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2005-08-01 08:58:31 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-08-01 08:58:31 +0000
commit376ed2339293d4beaeac69f8edad13ea208f787d (patch)
tree40830ce7fa4e3d78eea63d140b6a0b5f93c93233 /packages
parenta9d387a05a4725a3e9a27baa708e350d2a09674e (diff)
Add gcc-cross-kernel 2.4.4, courtesy Philipp Zabel
Diffstat (limited to 'packages')
-rw-r--r--packages/gcc/gcc-cross-kernel-3.4.4/.mtn2git_empty0
-rw-r--r--packages/gcc/gcc-cross-kernel-3.4.4/gcc-3.4.4-makefile-fix.patch29
-rw-r--r--packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb19
3 files changed, 48 insertions, 0 deletions
diff --git a/packages/gcc/gcc-cross-kernel-3.4.4/.mtn2git_empty b/packages/gcc/gcc-cross-kernel-3.4.4/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/gcc/gcc-cross-kernel-3.4.4/.mtn2git_empty
diff --git a/packages/gcc/gcc-cross-kernel-3.4.4/gcc-3.4.4-makefile-fix.patch b/packages/gcc/gcc-cross-kernel-3.4.4/gcc-3.4.4-makefile-fix.patch
new file mode 100644
index 0000000000..74c1f26833
--- /dev/null
+++ b/packages/gcc/gcc-cross-kernel-3.4.4/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/packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb b/packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb
new file mode 100644
index 0000000000..368cbb1e47
--- /dev/null
+++ b/packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb
@@ -0,0 +1,19 @@
+SECTION = "devel"
+# cut-down gcc for kernel builds
+# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
+
+include gcc-cross-initial_${PV}.bb
+
+PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
+
+SRC_URI += "file://gcc-3.4.4-makefile-fix.patch;patch=1"
+
+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}
+}