gdk-pixbuf-csource-native (2.12.11): Switch to FILESPATHPKG
[openembedded.git] / recipes / gcc / gcc-cross-kernel.inc
blobc0a8de77cc73876f1b89291d3a1eb7dfaa48a956
1 # Cut-down gcc for kernel builds
2 # Only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.
4 DEPENDS += "gcc-cross"
6 PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"
8 do_install () {
9         :
12 do_compile () {
13         # This compiler is only for the kernel.  Don't bother running fixincludes.
14         mkdir -p gcc
15         touch gcc/stmp-fixinc
16         oe_runmake
19 do_stage () {
20         cd gcc
21         oe_runmake installdirs install-common install-headers install-libgcc
22         install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}