diff options
Diffstat (limited to 'meta/recipes-devtools/gcc/gcc-cross-kernel.inc')
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-cross-kernel.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-cross-kernel.inc b/meta/recipes-devtools/gcc/gcc-cross-kernel.inc new file mode 100644 index 0000000000..5347762762 --- /dev/null +++ b/meta/recipes-devtools/gcc/gcc-cross-kernel.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | # Cut-down gcc for kernel builds | ||
2 | # Only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc. | ||
3 | |||
4 | PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}" | ||
5 | |||
6 | do_install () { | ||
7 | cd gcc | ||
8 | oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc | ||
9 | install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV} | ||
10 | } | ||