diff options
Diffstat (limited to 'packages/gcc/gcc-cross-kernel.inc')
-rw-r--r-- | packages/gcc/gcc-cross-kernel.inc | 14 |
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} +} |