summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-cross-kernel.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-cross-kernel.inc')
-rw-r--r--meta/packages/gcc/gcc-cross-kernel.inc16
1 files changed, 16 insertions, 0 deletions
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