2 # Note this class is deprecated and replaced by cross-canadian.bbclass
6 # Canadian cross packages are built indirectly via dependency,
7 # no need for them to be a direct target of 'world'
8 EXCLUDE_FROM_WORLD = "1"
14 BASE_PACKAGE_ARCH = "${SDK_ARCH}"
15 BASEPKG_HOST_SYS = "${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}"
16 BASEPKG_TARGET_SYS = "${SDK_ARCH}${SDK_VENDOR}-${SDK_OS}"
18 HOST_ARCH = "${BUILD_ARCH}"
19 HOST_VENDOR = "${BUILD_VENDOR}"
20 HOST_OS = "${BUILD_OS}"
21 HOST_PREFIX = "${BUILD_PREFIX}"
22 HOST_CC_ARCH = "${BUILD_CC_ARCH}"
23 HOST_EXEEXT = "${BUILD_EXEEXT}"
25 TARGET_ARCH = "${SDK_ARCH}"
26 TARGET_VENDOR = "${SDK_VENDOR}"
27 TARGET_OS = "${SDK_OS}"
28 TARGET_PREFIX = "${SDK_PREFIX}"
29 TARGET_CC_ARCH = "${SDK_CC_ARCH}"
30 TARGET_EXEEXT = "${SDK_EXEEXT}"
32 CPPFLAGS = "${BUILD_CPPFLAGS}"
33 CFLAGS = "${BUILD_CFLAGS}"
34 CXXFLAGS = "${BUILD_CFLAGS}"
35 LDFLAGS = "${BUILD_LDFLAGS}"
37 TOOLCHAIN_OPTIONS = ""
39 # Architecture dependent paths
40 bindir = "${exec_prefix}/bin"
41 sbindir = "${exec_prefix}/bin"
42 libexecdir = "${exec_prefix}/libexec"
43 libdir = "${exec_prefix}/lib"
44 includedir = "${exec_prefix}/include"
45 oldincludedir = "${exec_prefix}/include"
48 export base_prefix = "${STAGING_DIR_HOST}"
49 export prefix = "${STAGING_DIR_HOST}/usr"
50 export exec_prefix = "${STAGING_DIR_HOST}/usr"
53 export base_bindir = "${STAGING_DIR_HOST}/bin"
54 export base_sbindir = "${STAGING_DIR_HOST}/sbin"
55 export base_libdir = "${STAGING_DIR_HOST}/lib"
57 # Architecture independent paths
58 export datadir = "${STAGING_DIR_HOST}/usr/share"
59 export sysconfdir = "${STAGING_DIR_HOST}/etc"
60 export sharedstatedir = "${STAGING_DIR_HOST}/com"
61 export localstatedir = "${STAGING_DIR_HOST}/var"
62 export infodir = "${STAGING_DIR_HOST}/usr/info"
63 export mandir = "${STAGING_DIR_HOST}/usr/man"
64 export docdir = "${STAGING_DIR_HOST}/usr/doc"
65 export servicedir = "${STAGING_DIR_HOST}/srv"
67 # Architecture dependent paths
68 export bindir = "${STAGING_DIR_HOST}/usr/bin"
69 export sbindir = "${STAGING_DIR_HOST}/usr/sbin"
70 export libexecdir = "${STAGING_DIR_HOST}/usr/libexec"
71 export libdir = "${STAGING_DIR_HOST}/usr/lib"
72 export includedir = "${STAGING_DIR_HOST}/usr/include"
73 export oldincludedir = "${STAGING_DIR_HOST}/usr/include"