summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@rpsys.net>2008-03-16 09:52:00 +0000
committerRichard Purdie <rpurdie@rpsys.net>2008-03-16 09:52:00 +0000
commit055ec708a914906cad858e38cd95aa4479086fd6 (patch)
tree993197b7ea6fe8889492e28e9da30f06c089149c
parentde015c94fc188662b83583fd5abde39b39ac56b3 (diff)
gcc: Add missing file
-rw-r--r--packages/gcc/gcc-cross-kernel.inc14
1 files changed, 14 insertions, 0 deletions
diff --git a/packages/gcc/gcc-cross-kernel.inc b/packages/gcc/gcc-cross-kernel.inc
new file mode 100644
index 0000000000..fe6539b808
--- /dev/null
+++ b/packages/gcc/gcc-cross-kernel.inc
@@ -0,0 +1,14 @@
+# 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}
+}