diff options
Diffstat (limited to 'recipes-devtools/gcc/gcc-cross-kernel.inc')
| -rw-r--r-- | recipes-devtools/gcc/gcc-cross-kernel.inc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-devtools/gcc/gcc-cross-kernel.inc b/recipes-devtools/gcc/gcc-cross-kernel.inc new file mode 100644 index 0000000000..5347762762 --- /dev/null +++ b/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 | } | ||
