summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross-kernel.inc
blob: 59938f5500934e7d09e888bf576a578f9b0527c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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
	install -d ${CROSS_DIR}/bin/
	install -d ${CROSS_DIR}/lib/
	oe_runmake install-common install-headers install-libgcc
	install -m 0755 xgcc ${CROSS_DIR}/bin/${TARGET_PREFIX}gcc-${PV}
}