summaryrefslogtreecommitdiff
path: root/classes/cross.bbclass
blob: 9a3d39cb498118fa271e3eb347fdf1c434706b66 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Cross packages are built indirectly via dependency,
# no need for them to be a direct target of 'world'
EXCLUDE_FROM_WORLD = "1"

# In order to keep TARGET_PREFIX decoupled from TARGET_SYS, let's force the
# binary names to match the former, rather than relying on autoconf's implicit
# prefixing based on the latter.
EXTRA_OECONF_append = " --program-prefix=${TARGET_PREFIX}"

# Save PACKAGE_ARCH before changing HOST_ARCH
OLD_PACKAGE_ARCH := "${PACKAGE_ARCH}"
PACKAGE_ARCH = "${OLD_PACKAGE_ARCH}"
# Also save BASE_PACKAGE_ARCH since HOST_ARCH can influence it
OLD_BASE_PACKAGE_ARCH := "${BASE_PACKAGE_ARCH}"
BASE_PACKAGE_ARCH = "${OLD_BASE_PACKAGE_ARCH}"

PACKAGES = ""

HOST_ARCH = "${BUILD_ARCH}"
HOST_VENDOR = "${BUILD_VENDOR}"
HOST_OS = "${BUILD_OS}"
HOST_PREFIX = "${BUILD_PREFIX}"
HOST_CC_ARCH = "${BUILD_CC_ARCH}"
HOST_EXEEXT = "${BUILD_EXEEXT}"
BASEPKG_HOST_SYS = "${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"

CPPFLAGS = "${BUILD_CPPFLAGS}"
CFLAGS = "${BUILD_CFLAGS}"
CXXFLAGS = "${BUILD_CFLAGS}"
LDFLAGS = "${BUILD_LDFLAGS}"
LDFLAGS_build-darwin = "-L${STAGING_LIBDIR_NATIVE}"

TOOLCHAIN_OPTIONS = ""

# Overrides for paths
prefix = "${CROSS_DIR}"
base_prefix = "${prefix}"
exec_prefix = "${prefix}"
base_sbindir = "${base_prefix}/bin"
sbindir = "${exec_prefix}/bin"

do_stage () {
	oe_runmake install
}

do_install () {
	:
}
r Freyther6 2007-10-07packages/qmake/qmake2-native: Move the LFLAGS to the end of the linker lineHolger Freyther1 2007-10-06webkit-gtk: add unstage task till Holger fixes qmakeKoen Kooi3 2007-09-29webkit-gtk: catch up with gdk->gtk renameKoen Kooi3 2007-09-06webkit: reinstate ;name inj SRC_URIKoen Kooi1 2007-09-04webkit: switch to SRCREVKoen Kooi1 2007-09-03classes/{qmake*,qt4x11}.bbclass: Add a qmake2.bbclass to use qmake version twoHolger Freyther1 2007-08-12webkit: rename to webkit-gtk Koen Kooi6 2007-07-31webkit: clean up (guys, please don't mix TABs and SPACEs) and make it buildMichael Lauer1 2007-07-25webkit: add some qmake magic from zecke to make install and staging work betterKoen Kooi1 2007-07-25webkit: fix dftables buildKoen Kooi1 2007-07-24webkit: first attempt at fixing the dftables problem (http://bugs.webkit.org/...Koen Kooi3 2007-07-22Webkit: update local copy of Makefiles Koen Kooi2 2007-07-18webkit: add -lcurl as workround for broken pkgconfig Koen Kooi1 2007-07-17webkit: update webkit.priKoen Kooi1 2007-07-01webkit: alter do_installKoen Kooi1 2007-07-01webkit: update webkit.pri and webkit.proKoen Kooi2 2007-05-30webkit: fix typoKoen Kooi1 2007-05-30webkit: add more dependsKoen Kooi1 2007-05-30webkit: fix packagingKoen Kooi1 2007-05-30webkit: add install and packaging, still needs do_stage() Koen Kooi1 2007-05-30webkit: unbreak qmake usage a bitKoen Kooi1 2007-05-29WebKit: add WIP recipe to build the webkit-gdk portKoen Kooi7