summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb')
-rw-r--r--packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb b/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb
index e69de29bb2..7db2409093 100644
--- a/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb
+++ b/packages/gcc/gcc-cross-kernel-3.3.4_3.3.4.bb
@@ -0,0 +1,17 @@
+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}"
+
+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}
+}