summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-cross-kernel.inc
blob: 02d44583c929d31c9cd97296de5900bcfe3e4970 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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 () {
	cd gcc
	oe_runmake 'DESTDIR=${D}' install-common install-headers install-libgcc
	install -m 0755 xgcc ${D}${STAGING_DIR_NATIVE}${prefix_native}/bin/${TARGET_PREFIX}gcc-${PV}
}

do_stage () {
    use_do_install_for_stage
}