summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/gcc-cross-kernel_3.3.3.oe16
1 files changed, 16 insertions, 0 deletions
diff --git a/gcc/gcc-cross-kernel_3.3.3.oe b/gcc/gcc-cross-kernel_3.3.3.oe
index e69de29bb2..62d6d190ce 100644
--- a/gcc/gcc-cross-kernel_3.3.3.oe
+++ b/gcc/gcc-cross-kernel_3.3.3.oe
@@ -0,0 +1,16 @@
+# cut-down gcc for kernel builds
+# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
+
+include gcc-cross-initial_${PV}.oe
+
+PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
+
+do_install () {
+ :
+}
+
+do_stage () {
+ cd gcc
+ oe_runmake install-common install-headers
+ install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
+}