summaryrefslogtreecommitdiff
path: root/packages/gcc/gcc-cross-kernel-3.4.4_3.4.4.bb
blob: 03c6ce2b860b2eeb9e1b22ad5a11fe071e52c9f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SECTION = "devel"
# cut-down gcc for kernel builds
# only installs ${TARGET_PREFIX}gcc-${PV}, not ${TARGET_PREFIX}gcc.

require gcc-cross-initial_${PV}.bb

PROVIDES = "virtual/${TARGET_PREFIX}gcc-${PV}"

SRC_URI += "file://gcc-3.4.4-makefile-fix.patch;patch=1"

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