summaryrefslogtreecommitdiff
path: root/gcc/gcc-cross-kernel_3.3.4.oe
blob: bc9a53ff3851bc695556cf999979c3b324e4fa6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
SECTION = "devel"
# cut-down gcc for kernel builds
# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.

include gcc-cross-initial_${PV}.oe

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}
}