summaryrefslogtreecommitdiff
path: root/classes/cross.oeclass
blob: 6bdc5bf9262ea72799319133966c00b2f84d2f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Cross packages are built indirectly via dependency,
# no need for them to be a direct target of 'world'
EXCLUDE_FROM_WORLD = "1"

PACKAGES = ""

HOST_ARCH = "${BUILD_ARCH}"
HOST_VENDOR = "${BUILD_VENDOR}"
HOST_OS = "${BUILD_OS}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"

export CPPFLAGS = "${BUILD_CPPFLAGS}"
export CFLAGS = "${BUILD_CFLAGS}"
export CXXFLAGS = "${BUILD_CFLAGS}"
export LDFLAGS = "${BUILD_LDFLAGS}"

prefix = "${CROSS_DIR}"
exec_prefix = "${prefix}"
bindir = "${prefix}/bin"
sbindir = "${prefix}/bin"

do_stage () {
	oe_runmake install
}

do_install () {
	:
}